pub struct CreateSetupIntentPaymentMethodDataSofort {
pub country: CreateSetupIntentPaymentMethodDataSofortCountry,
}
Expand description
If this is a sofort
PaymentMethod, this hash contains details about the SOFORT payment method.
Fields§
§country: CreateSetupIntentPaymentMethodDataSofortCountry
Two-letter ISO code representing the country the bank account is located in.
Implementations§
Source§impl CreateSetupIntentPaymentMethodDataSofort
impl CreateSetupIntentPaymentMethodDataSofort
pub fn new( country: impl Into<CreateSetupIntentPaymentMethodDataSofortCountry>, ) -> Self
Trait Implementations§
Source§impl Clone for CreateSetupIntentPaymentMethodDataSofort
impl Clone for CreateSetupIntentPaymentMethodDataSofort
Source§fn clone(&self) -> CreateSetupIntentPaymentMethodDataSofort
fn clone(&self) -> CreateSetupIntentPaymentMethodDataSofort
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 moreimpl Copy for CreateSetupIntentPaymentMethodDataSofort
Auto Trait Implementations§
impl Freeze for CreateSetupIntentPaymentMethodDataSofort
impl RefUnwindSafe for CreateSetupIntentPaymentMethodDataSofort
impl Send for CreateSetupIntentPaymentMethodDataSofort
impl Sync for CreateSetupIntentPaymentMethodDataSofort
impl Unpin for CreateSetupIntentPaymentMethodDataSofort
impl UnwindSafe for CreateSetupIntentPaymentMethodDataSofort
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