pub struct RequestInvoiceInput {
pub order_id: Option<i64>,
pub enterprise_id: Option<i64>,
pub invoice_type: Option<InvoiceType>,
pub title: String,
pub tax_id: Option<String>,
pub bank_name: Option<String>,
pub bank_account: Option<String>,
pub contact_address: Option<String>,
pub contact_phone: Option<String>,
pub amount_fen: i64,
pub tax_rate: Option<f64>,
}Expand description
开票申请 request。TS RequestInvoiceInput。
Fields§
§order_id: Option<i64>§enterprise_id: Option<i64>§invoice_type: Option<InvoiceType>§title: String§tax_id: Option<String>§bank_name: Option<String>§bank_account: Option<String>§contact_address: Option<String>§contact_phone: Option<String>§amount_fen: i64金额(整数分,§3)。
tax_rate: Option<f64>税率(f64,比率非金额)。
Trait Implementations§
Source§impl Clone for RequestInvoiceInput
impl Clone for RequestInvoiceInput
Source§impl Debug for RequestInvoiceInput
impl Debug for RequestInvoiceInput
Source§impl<'de> Deserialize<'de> for RequestInvoiceInput
impl<'de> Deserialize<'de> for RequestInvoiceInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RequestInvoiceInput
impl RefUnwindSafe for RequestInvoiceInput
impl Send for RequestInvoiceInput
impl Sync for RequestInvoiceInput
impl Unpin for RequestInvoiceInput
impl UnsafeUnpin for RequestInvoiceInput
impl UnwindSafe for RequestInvoiceInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more