Struct billecta::CreditCardPayment
source · pub struct CreditCardPayment {Show 16 fields
pub payment_public_id: Uuid,
pub creditor_public_id: Uuid,
pub status: CreditCardPaymentStatusType,
pub amount: Option<Amount>,
pub refunded_amount: Option<Amount>,
pub payment_date: DateTime,
pub action_public_id: Option<String>,
pub action_type: ActionType,
pub comment: Option<String>,
pub payment_window_url: Option<String>,
pub success_url: Option<String>,
pub failure_url: Option<String>,
pub created: DateTime,
pub language: LanguageType,
pub funding: Option<String>,
pub brand: Option<String>,
}
Fields§
§payment_public_id: Uuid
§creditor_public_id: Uuid
§status: CreditCardPaymentStatusType
§amount: Option<Amount>
§refunded_amount: Option<Amount>
§payment_date: DateTime
§action_public_id: Option<String>
§action_type: ActionType
§comment: Option<String>
§payment_window_url: Option<String>
§success_url: Option<String>
§failure_url: Option<String>
§created: DateTime
§language: LanguageType
§funding: Option<String>
§brand: Option<String>
Implementations§
source§impl CreditCardPayment
impl CreditCardPayment
pub fn new( payment_public_id: Uuid, creditor_public_id: Uuid, status: CreditCardPaymentStatusType, payment_date: DateTime, action_type: ActionType, created: DateTime, language: LanguageType ) -> Self
Trait Implementations§
source§impl Clone for CreditCardPayment
impl Clone for CreditCardPayment
source§fn clone(&self) -> CreditCardPayment
fn clone(&self) -> CreditCardPayment
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 CreditCardPayment
impl Debug for CreditCardPayment
source§impl<'de> Deserialize<'de> for CreditCardPayment
impl<'de> Deserialize<'de> for CreditCardPayment
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 CreditCardPayment
impl RefUnwindSafe for CreditCardPayment
impl Send for CreditCardPayment
impl Sync for CreditCardPayment
impl Unpin for CreditCardPayment
impl UnwindSafe for CreditCardPayment
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