pub struct PaymentSimulation {
pub customer_id: String,
pub dunning_level: u8,
pub response: DunningResponseType,
pub amount: Decimal,
pub expected_payment_date: Option<NaiveDate>,
}Expand description
Simulated payment response.
Fields§
§customer_id: StringCustomer ID.
dunning_level: u8Dunning level.
response: DunningResponseTypeResponse type.
amount: DecimalAmount due.
expected_payment_date: Option<NaiveDate>Expected payment date (if paying).
Trait Implementations§
Source§impl Clone for PaymentSimulation
impl Clone for PaymentSimulation
Source§fn clone(&self) -> PaymentSimulation
fn clone(&self) -> PaymentSimulation
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 PaymentSimulation
impl RefUnwindSafe for PaymentSimulation
impl Send for PaymentSimulation
impl Sync for PaymentSimulation
impl Unpin for PaymentSimulation
impl UnwindSafe for PaymentSimulation
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