pub struct LbtPaymentInfo {
pub rail: Rail,
pub addressing_system: AddressingSystem,
pub account_holder_given_name: String,
pub account_holder_surname: String,
pub country: String,
pub account_number: String,
pub bank_name: String,
pub bank_code: String,
}Expand description
LbtPaymentInfo : LBT (Lebanese Bank Transfer) payment information for Lebanese bank transfers
Fields§
§rail: RailThe payment rail type for Lebanese bank transfers
addressing_system: AddressingSystemThe addressing system used for Lebanese bank transfers (Bank Account Number)
account_holder_given_name: StringThe given name (first name) of the account holder
account_holder_surname: StringThe surname (last name) of the account holder
country: StringThe country for the transfer (ISO 3166-1 alpha-2 code)
account_number: StringThe bank account number
bank_name: StringThe name of the bank
bank_code: StringThe bank code or identifier
Implementations§
Source§impl LbtPaymentInfo
impl LbtPaymentInfo
Sourcepub fn new(
rail: Rail,
addressing_system: AddressingSystem,
account_holder_given_name: String,
account_holder_surname: String,
country: String,
account_number: String,
bank_name: String,
bank_code: String,
) -> LbtPaymentInfo
pub fn new( rail: Rail, addressing_system: AddressingSystem, account_holder_given_name: String, account_holder_surname: String, country: String, account_number: String, bank_name: String, bank_code: String, ) -> LbtPaymentInfo
LBT (Lebanese Bank Transfer) payment information for Lebanese bank transfers
Trait Implementations§
Source§impl Clone for LbtPaymentInfo
impl Clone for LbtPaymentInfo
Source§fn clone(&self) -> LbtPaymentInfo
fn clone(&self) -> LbtPaymentInfo
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 LbtPaymentInfo
impl Debug for LbtPaymentInfo
Source§impl Default for LbtPaymentInfo
impl Default for LbtPaymentInfo
Source§fn default() -> LbtPaymentInfo
fn default() -> LbtPaymentInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LbtPaymentInfo
impl<'de> Deserialize<'de> for LbtPaymentInfo
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
Source§impl PartialEq for LbtPaymentInfo
impl PartialEq for LbtPaymentInfo
Source§impl Serialize for LbtPaymentInfo
impl Serialize for LbtPaymentInfo
impl StructuralPartialEq for LbtPaymentInfo
Auto Trait Implementations§
impl Freeze for LbtPaymentInfo
impl RefUnwindSafe for LbtPaymentInfo
impl Send for LbtPaymentInfo
impl Sync for LbtPaymentInfo
impl Unpin for LbtPaymentInfo
impl UnwindSafe for LbtPaymentInfo
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