pub struct CreatePaymentIntentMandateDataCustomerAcceptance {
pub accepted_at: Option<Timestamp>,
pub offline: Option<Value>,
pub online: Option<OnlineParam>,
pub type_: CreatePaymentIntentMandateDataCustomerAcceptanceType,
}
Expand description
This hash contains details about the customer acceptance of the Mandate.
Fields§
§accepted_at: Option<Timestamp>
The time at which the customer accepted the Mandate.
offline: Option<Value>
If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
online: Option<OnlineParam>
If this is a Mandate accepted online, this hash contains details about the online acceptance.
type_: CreatePaymentIntentMandateDataCustomerAcceptanceType
The type of customer acceptance information included with the Mandate.
One of online
or offline
.
Implementations§
Source§impl CreatePaymentIntentMandateDataCustomerAcceptance
impl CreatePaymentIntentMandateDataCustomerAcceptance
pub fn new( type_: impl Into<CreatePaymentIntentMandateDataCustomerAcceptanceType>, ) -> Self
Trait Implementations§
Source§impl Clone for CreatePaymentIntentMandateDataCustomerAcceptance
impl Clone for CreatePaymentIntentMandateDataCustomerAcceptance
Source§fn clone(&self) -> CreatePaymentIntentMandateDataCustomerAcceptance
fn clone(&self) -> CreatePaymentIntentMandateDataCustomerAcceptance
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 CreatePaymentIntentMandateDataCustomerAcceptance
impl RefUnwindSafe for CreatePaymentIntentMandateDataCustomerAcceptance
impl Send for CreatePaymentIntentMandateDataCustomerAcceptance
impl Sync for CreatePaymentIntentMandateDataCustomerAcceptance
impl Unpin for CreatePaymentIntentMandateDataCustomerAcceptance
impl UnwindSafe for CreatePaymentIntentMandateDataCustomerAcceptance
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