pub struct ConfirmKeyinPayment {Show 13 fields
pub amount: usize,
pub order_id: String,
pub order_name: String,
pub card_number: String,
pub card_expiration_year: String,
pub card_expiration_month: String,
pub customer_identity_number: String,
pub card_password: Option<String>,
pub card_installment_plan: Option<u8>,
pub use_free_installment_plan: Option<bool>,
pub tax_free_amount: Option<usize>,
pub customer_email: Option<String>,
pub customer_name: Option<String>,
}
Fields§
§amount: usize
§order_id: String
§order_name: String
§card_number: String
§card_expiration_year: String
§card_expiration_month: String
§customer_identity_number: String
§card_password: Option<String>
§card_installment_plan: Option<u8>
§use_free_installment_plan: Option<bool>
§tax_free_amount: Option<usize>
§customer_email: Option<String>
§customer_name: Option<String>
Implementations§
Source§impl ConfirmKeyinPayment
impl ConfirmKeyinPayment
Sourcepub fn builder() -> ConfirmKeyinPaymentBuilder<((), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> ConfirmKeyinPaymentBuilder<((), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building ConfirmKeyinPayment
.
On the builder, call .amount(...)
, .order_id(...)
, .order_name(...)
, .card_number(...)
, .card_expiration_year(...)
, .card_expiration_month(...)
, .customer_identity_number(...)
, .card_password(...)
(optional), .card_installment_plan(...)
(optional), .use_free_installment_plan(...)
(optional), .tax_free_amount(...)
(optional), .customer_email(...)
(optional), .customer_name(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ConfirmKeyinPayment
.
Trait Implementations§
Source§impl Clone for ConfirmKeyinPayment
impl Clone for ConfirmKeyinPayment
Source§fn clone(&self) -> ConfirmKeyinPayment
fn clone(&self) -> ConfirmKeyinPayment
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 Debug for ConfirmKeyinPayment
impl Debug for ConfirmKeyinPayment
Source§impl<'de> Deserialize<'de> for ConfirmKeyinPayment
impl<'de> Deserialize<'de> for ConfirmKeyinPayment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConfirmKeyinPayment
impl RefUnwindSafe for ConfirmKeyinPayment
impl Send for ConfirmKeyinPayment
impl Sync for ConfirmKeyinPayment
impl Unpin for ConfirmKeyinPayment
impl UnwindSafe for ConfirmKeyinPayment
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