pub struct CreateInvoiceInput {
pub external_customer_id: String,
pub currency: String,
pub fees: Vec<CreateInvoiceFeeInput>,
}Expand description
Input for creating a one-off invoice.
This struct contains all the information needed to create a one-off invoice for a customer with add-on charges.
Fields§
§external_customer_id: StringThe external customer ID to create the invoice for.
currency: StringThe currency for the invoice (ISO 4217 code).
fees: Vec<CreateInvoiceFeeInput>The list of fees to include in the invoice.
Implementations§
Source§impl CreateInvoiceInput
impl CreateInvoiceInput
Trait Implementations§
Source§impl Clone for CreateInvoiceInput
impl Clone for CreateInvoiceInput
Source§fn clone(&self) -> CreateInvoiceInput
fn clone(&self) -> CreateInvoiceInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateInvoiceInput
impl Debug for CreateInvoiceInput
Source§impl<'de> Deserialize<'de> for CreateInvoiceInput
impl<'de> Deserialize<'de> for CreateInvoiceInput
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 CreateInvoiceInput
impl RefUnwindSafe for CreateInvoiceInput
impl Send for CreateInvoiceInput
impl Sync for CreateInvoiceInput
impl Unpin for CreateInvoiceInput
impl UnwindSafe for CreateInvoiceInput
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