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