pub struct Settlement {Show 22 fields
pub m_id: String,
pub payment_key: String,
pub transaction_key: String,
pub order_id: String,
pub currency: String,
pub method: PaymentMethod,
pub amount: i32,
pub interest_fee: i32,
pub fees: Vec<Fee>,
pub supply_amount: i32,
pub vat: i32,
pub pay_out_amount: i32,
pub approved_at: String,
pub sold_date: String,
pub paid_out_date: String,
pub card: Option<Card>,
pub easy_pay: Option<EasyPay>,
pub gift_certificate: Option<GiftCertificate>,
pub mobile_phone: Option<MobilePhone>,
pub transfer: Option<Transfer>,
pub virtual_account: Option<VirtualAccount>,
pub cancel: Option<Cancel>,
}
Fields§
§m_id: String
§payment_key: String
§transaction_key: String
§order_id: String
§currency: String
§method: PaymentMethod
§amount: i32
§interest_fee: i32
§fees: Vec<Fee>
§supply_amount: i32
§vat: i32
§pay_out_amount: i32
§approved_at: String
§sold_date: String
§paid_out_date: String
§card: Option<Card>
§easy_pay: Option<EasyPay>
§gift_certificate: Option<GiftCertificate>
§mobile_phone: Option<MobilePhone>
§transfer: Option<Transfer>
§virtual_account: Option<VirtualAccount>
§cancel: Option<Cancel>
Trait Implementations§
Source§impl Clone for Settlement
impl Clone for Settlement
Source§fn clone(&self) -> Settlement
fn clone(&self) -> Settlement
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 Settlement
impl Debug for Settlement
Source§impl<'de> Deserialize<'de> for Settlement
impl<'de> Deserialize<'de> for Settlement
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 Settlement
impl RefUnwindSafe for Settlement
impl Send for Settlement
impl Sync for Settlement
impl Unpin for Settlement
impl UnwindSafe for Settlement
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