Struct billecta::UnhandledPayment
source · pub struct UnhandledPayment {Show 19 fields
pub creditor_public_id: Uuid,
pub unhandled_payment_public_id: Uuid,
pub creditor_name: Option<String>,
pub sender_name: Option<String>,
pub sender_address: Option<String>,
pub sender_zip_code: Option<String>,
pub sender_city: Option<String>,
pub sender_country_code: Option<String>,
pub sender_org_no: Option<String>,
pub sender_bankgiro_no: Option<String>,
pub debtor_public_id: Option<Uuid>,
pub amount: Option<Amount>,
pub payment_date: DateTime,
pub reference: Option<String>,
pub created_by: Option<String>,
pub unhandled_payment_type: UnhandledPaymentType,
pub overpayment_details: Option<OverpaymentDetails>,
pub additional_informations: Vec<String>,
pub state: UnhandledPaymentStateType,
}
Fields§
§creditor_public_id: Uuid
§unhandled_payment_public_id: Uuid
§creditor_name: Option<String>
§sender_name: Option<String>
§sender_address: Option<String>
§sender_zip_code: Option<String>
§sender_city: Option<String>
§sender_country_code: Option<String>
§sender_org_no: Option<String>
§sender_bankgiro_no: Option<String>
§debtor_public_id: Option<Uuid>
§amount: Option<Amount>
§payment_date: DateTime
§reference: Option<String>
§created_by: Option<String>
§unhandled_payment_type: UnhandledPaymentType
§overpayment_details: Option<OverpaymentDetails>
§additional_informations: Vec<String>
§state: UnhandledPaymentStateType
Implementations§
source§impl UnhandledPayment
impl UnhandledPayment
pub fn new( creditor_public_id: Uuid, unhandled_payment_public_id: Uuid, payment_date: DateTime, unhandled_payment_type: UnhandledPaymentType, state: UnhandledPaymentStateType, ) -> Self
Trait Implementations§
source§impl Clone for UnhandledPayment
impl Clone for UnhandledPayment
source§fn clone(&self) -> UnhandledPayment
fn clone(&self) -> UnhandledPayment
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 UnhandledPayment
impl Debug for UnhandledPayment
source§impl<'de> Deserialize<'de> for UnhandledPayment
impl<'de> Deserialize<'de> for UnhandledPayment
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 UnhandledPayment
impl RefUnwindSafe for UnhandledPayment
impl Send for UnhandledPayment
impl Sync for UnhandledPayment
impl Unpin for UnhandledPayment
impl UnwindSafe for UnhandledPayment
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)