pub struct BillPayment {Show 13 fields
pub sync_token: Option<String>,
pub domain: Option<String>,
pub vendor_ref: Option<NtRef>,
pub txn_date: Option<String>,
pub total_amt: Option<f64>,
pub pay_type: Option<PayType>,
pub private_note: Option<String>,
pub sparse: Option<bool>,
pub line: Option<LineField>,
pub id: Option<String>,
pub check_payment: Option<CheckBillPayment>,
pub credit_card_payment: Option<CreditCardBillPayment>,
pub meta_data: Option<MetaData>,
}Expand description
BillPayment
Represents a payment applied to vendor bills (accounts payable). Payments can be made by check or credit card; corresponding details are provided via check_payment or credit_card_payment.
API reference: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/billpayment
Fields§
§sync_token: Option<String>The unique sync token of the entity, used for concurrency control
domain: Option<String>Domain of the transaction. QBO for QuickBooks Online.
vendor_ref: Option<NtRef>Reference to the vendor for the transaction.
txn_date: Option<String>Date of the transaction in YYYY-MM-DD format.
total_amt: Option<f64>Total amount of the transaction.
pay_type: Option<PayType>Type of payment for the transaction.
private_note: Option<String>Private note for the transaction
sparse: Option<bool>Indicates if the transaction is a sparse object
line: Option<LineField>Line items for the transaction
id: Option<String>The unique ID of the entity
check_payment: Option<CheckBillPayment>Information about a check payment for the transaction. Not applicable to Estimate and SalesOrder. Used when PayType is Check
credit_card_payment: Option<CreditCardBillPayment>Information about a credit card payment for the transaction. Not applicable to Estimate and SalesOrder. Used when PayType is CreditCard
meta_data: Option<MetaData>Metadata about the transaction
Trait Implementations§
Source§impl Clone for BillPayment
impl Clone for BillPayment
Source§fn clone(&self) -> BillPayment
fn clone(&self) -> BillPayment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more