pub struct CreatePaymentMethodConfigurationCustomerBalance {
pub display_preference: Option<CreatePaymentMethodConfigurationCustomerBalanceDisplayPreference>,
}Expand description
Uses a customer’s cash balance for the payment. The cash balance can be funded via a bank transfer. Check this page for more details.
Fields§
§display_preference: Option<CreatePaymentMethodConfigurationCustomerBalanceDisplayPreference>Whether or not the payment method should be displayed.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentMethodConfigurationCustomerBalance
impl Clone for CreatePaymentMethodConfigurationCustomerBalance
Source§fn clone(&self) -> CreatePaymentMethodConfigurationCustomerBalance
fn clone(&self) -> CreatePaymentMethodConfigurationCustomerBalance
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 PartialEq for CreatePaymentMethodConfigurationCustomerBalance
impl PartialEq for CreatePaymentMethodConfigurationCustomerBalance
Source§fn eq(&self, other: &CreatePaymentMethodConfigurationCustomerBalance) -> bool
fn eq(&self, other: &CreatePaymentMethodConfigurationCustomerBalance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentMethodConfigurationCustomerBalance
impl StructuralPartialEq for CreatePaymentMethodConfigurationCustomerBalance
Auto Trait Implementations§
impl Freeze for CreatePaymentMethodConfigurationCustomerBalance
impl RefUnwindSafe for CreatePaymentMethodConfigurationCustomerBalance
impl Send for CreatePaymentMethodConfigurationCustomerBalance
impl Sync for CreatePaymentMethodConfigurationCustomerBalance
impl Unpin for CreatePaymentMethodConfigurationCustomerBalance
impl UnsafeUnpin for CreatePaymentMethodConfigurationCustomerBalance
impl UnwindSafe for CreatePaymentMethodConfigurationCustomerBalance
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