pub struct CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer {
pub eu_bank_transfer: Option<EuBankTransferParams>,
pub requested_address_types: Option<Vec<CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes>>,
pub type_: CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType,
}
Expand description
Configuration for the bank transfer funding type, if the funding_type
is set to bank_transfer
.
Fields§
§eu_bank_transfer: Option<EuBankTransferParams>
Configuration for the eu_bank_transfer funding type.
requested_address_types: Option<Vec<CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes>>
List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
Permitted values include: sort_code
, zengin
, iban
, or spei
.
type_: CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType
The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: eu_bank_transfer
, gb_bank_transfer
, jp_bank_transfer
, mx_bank_transfer
, or us_bank_transfer
.
Implementations§
Source§impl CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
impl CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
pub fn new( type_: impl Into<CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType>, ) -> Self
Trait Implementations§
Source§impl Clone for CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
impl Clone for CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
Source§fn clone(
&self,
) -> CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
fn clone( &self, ) -> CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
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 moreAuto Trait Implementations§
impl Freeze for CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
impl RefUnwindSafe for CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
impl Send for CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
impl Sync for CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
impl Unpin for CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
impl UnwindSafe for CreatePaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
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