pub struct O2CDocumentChain {
pub sales_order: SalesOrder,
pub deliveries: Vec<Delivery>,
pub customer_invoice: Option<CustomerInvoice>,
pub customer_receipt: Option<Payment>,
pub is_complete: bool,
pub credit_check_passed: bool,
pub is_return: bool,
pub payment_events: Vec<PaymentEvent>,
}Expand description
A complete O2C document chain.
Fields§
§sales_order: SalesOrderSales Order
deliveries: Vec<Delivery>Deliveries (may be multiple for partial shipments)
customer_invoice: Option<CustomerInvoice>Customer Invoice
customer_receipt: Option<Payment>Customer Receipt (Payment)
is_complete: boolChain completion status
credit_check_passed: boolCredit check passed
is_return: boolIs this a return/credit memo chain
payment_events: Vec<PaymentEvent>Payment events (partial, short, corrections, etc.)
Trait Implementations§
Source§impl Clone for O2CDocumentChain
impl Clone for O2CDocumentChain
Source§fn clone(&self) -> O2CDocumentChain
fn clone(&self) -> O2CDocumentChain
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 O2CDocumentChain
impl RefUnwindSafe for O2CDocumentChain
impl Send for O2CDocumentChain
impl Sync for O2CDocumentChain
impl Unpin for O2CDocumentChain
impl UnwindSafe for O2CDocumentChain
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