Struct stripe::PaymentMethodDetailsFpx
source · pub struct PaymentMethodDetailsFpx {
pub account_holder_type: Option<PaymentMethodDetailsFpxAccountHolderType>,
pub bank: PaymentMethodDetailsFpxBank,
pub transaction_id: Option<String>,
}
Fields§
§account_holder_type: Option<PaymentMethodDetailsFpxAccountHolderType>
Account holder type, if provided.
Can be one of individual
or company
.
bank: PaymentMethodDetailsFpxBank
The customer’s bank.
Can be one of affin_bank
, agrobank
, alliance_bank
, ambank
, bank_islam
, bank_muamalat
, bank_rakyat
, bsn
, cimb
, hong_leong_bank
, hsbc
, kfh
, maybank2u
, ocbc
, public_bank
, rhb
, standard_chartered
, uob
, deutsche_bank
, maybank2e
, pb_enterprise
, or bank_of_china
.
transaction_id: Option<String>
Unique transaction id generated by FPX for every request from the merchant.
Trait Implementations§
source§impl Clone for PaymentMethodDetailsFpx
impl Clone for PaymentMethodDetailsFpx
source§fn clone(&self) -> PaymentMethodDetailsFpx
fn clone(&self) -> PaymentMethodDetailsFpx
Returns a copy 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 PaymentMethodDetailsFpx
impl Debug for PaymentMethodDetailsFpx
source§impl Default for PaymentMethodDetailsFpx
impl Default for PaymentMethodDetailsFpx
source§fn default() -> PaymentMethodDetailsFpx
fn default() -> PaymentMethodDetailsFpx
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentMethodDetailsFpx
impl<'de> Deserialize<'de> for PaymentMethodDetailsFpx
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 RefUnwindSafe for PaymentMethodDetailsFpx
impl Send for PaymentMethodDetailsFpx
impl Sync for PaymentMethodDetailsFpx
impl Unpin for PaymentMethodDetailsFpx
impl UnwindSafe for PaymentMethodDetailsFpx
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