pub struct FundingInstructions {
pub bank_transfer: FundingInstructionsBankTransfer,
pub currency: Currency,
pub funding_type: FundingInstructionsFundingType,
pub livemode: bool,
}
Expand description
Each customer has a balance
that is.
automatically applied to future invoices and payments using the customer_balance
payment method.
Customers can fund this balance by initiating a bank transfer to any account in the
financial_addresses
field.
Related guide: Customer balance funding instructions.
Fields§
§bank_transfer: FundingInstructionsBankTransfer
§currency: Currency
Three-letter ISO currency code, in lowercase. Must be a supported currency.
funding_type: FundingInstructionsFundingType
The funding_type
of the returned instructions
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
Trait Implementations§
Source§impl Clone for FundingInstructions
impl Clone for FundingInstructions
Source§fn clone(&self) -> FundingInstructions
fn clone(&self) -> FundingInstructions
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 FundingInstructions
impl Debug for FundingInstructions
Source§impl Deserialize for FundingInstructions
impl Deserialize for FundingInstructions
Source§impl FromValueOpt for FundingInstructions
impl FromValueOpt for FundingInstructions
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for FundingInstructions
impl RefUnwindSafe for FundingInstructions
impl Send for FundingInstructions
impl Sync for FundingInstructions
impl Unpin for FundingInstructions
impl UnwindSafe for FundingInstructions
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