pub struct BillingDetails {
pub enable_checkout: bool,
pub purchase_order_number: String,
pub additional_information: Option<String>,
pub payment_terms: Duration,
}
Expand description
Details for invoicing. Required if collection_mode
is manual
.
Fields§
§enable_checkout: bool
Whether the related transaction may be paid using Paddle Checkout. If omitted when creating a transaction, defaults to false
.
purchase_order_number: String
Customer purchase order number. Appears on invoice documents.
additional_information: Option<String>
Notes or other information to include on this invoice. Appears on invoice documents.
payment_terms: Duration
Trait Implementations§
Source§impl Clone for BillingDetails
impl Clone for BillingDetails
Source§fn clone(&self) -> BillingDetails
fn clone(&self) -> BillingDetails
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 BillingDetails
impl Debug for BillingDetails
Source§impl<'de> Deserialize<'de> for BillingDetails
impl<'de> Deserialize<'de> for BillingDetails
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 BillingDetails
impl RefUnwindSafe for BillingDetails
impl Send for BillingDetails
impl Sync for BillingDetails
impl Unpin for BillingDetails
impl UnwindSafe for BillingDetails
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