Skip to main content

InvoiceTypeContent

Enum InvoiceTypeContent 

Source
pub enum InvoiceTypeContent {
Show 96 variants Id(String), SyncToken(String), MetaData(ModificationMetaDataType), CustomField(CustomFieldType), AttachableRef(AttachableRefType), DocNumber(String), TxnDate(String), DepartmentRef(ReferenceTypeType), CurrencyRef(ReferenceTypeType), ExchangeRate(f64), PrivateNote(String), TxnStatus(String), LinkedTxn(LinkedTxnType), Line(LineType), TxnTaxDetail(TxnTaxDetailType), TxnSource(String), TaxFormType(String), TaxFormNum(String), TransactionLocationType(String), Tag(TagType), TxnApprovalInfo(TxnApprovalInfoType), RecurDataRef(ReferenceTypeType), RecurringInfo(RecurringInfoType), ProjectRef(ReferenceTypeType), TotalCostAmount(f64), HomeTotalCostAmount(f64), AutoDocNumber(bool), CustomerRef(ReferenceTypeType), CustomerMemo(MemoRefType), BillAddr(PhysicalAddressType), ShipAddr(PhysicalAddressType), FreeFormAddress(bool), ShipFromAddr(PhysicalAddressType), RemitToRef(ReferenceTypeType), ClassRef(ReferenceTypeType), SalesTermRef(ReferenceTypeType), DueDate(String), SalesRepRef(ReferenceTypeType), PoNumber(String), Fob(String), ShipMethodRef(ReferenceTypeType), ShipDate(String), TrackingNum(String), GlobalTaxCalculation(GlobalTaxCalculationEnumType), TotalAmt(f64), HomeTotalAmt(f64), ApplyTaxAfterDiscount(bool), ShippingTaxIncludedInTotalTax(bool), TemplateRef(ReferenceTypeType), PrintStatus(PrintStatusEnumType), EmailStatus(EmailStatusEnumType), BillEmail(EmailAddressType), BillEmailCc(EmailAddressType), BillEmailBcc(EmailAddressType), ArAccountRef(ReferenceTypeType), Balance(f64), HomeBalance(f64), FinanceCharge(bool), PaymentMethodRef(ReferenceTypeType), PaymentRefNum(String), PaymentType(PaymentTypeEnumType), CheckPayment(CheckPaymentType), CreditCardPayment(CreditCardPaymentType), DepositToAccountRef(ReferenceTypeType), DeliveryInfo(TransactionDeliveryInfoType), DiscountRate(f64), DiscountAmt(f64), GovtTxnRefIdentifier(String), TaxExemptionRef(ReferenceTypeType), Deposit(f64), AllowIpnPayment(bool), AllowOnlinePayment(bool), AllowOnlineCreditCardPayment(bool), AllowOnlineAchPayment(bool), AllowOnlinePayPalPayment(bool), EInvoiceStatus(ETransactionStatusEnumType), ECloudStatusTimeStamp(String), CfdiUse(i32), Exportation(String), GlobalInfo(MxGlobalInfoType), InvoiceStatus(String), CallToAction(String), InvoiceStatusLog(StatusInfoType), InvoiceEx(IntuitAnyTypeType), LessCis(f64), InvoiceLink(String), PaymentDetailsMessage(String), ConvenienceFeeDetail(ConvenienceFeeDetailType), InvoiceLinkSecurityCode(String), InvoiceLinkExpiryDate(String), AutoPayEligible(bool), SchedulePayEligible(bool), ScheduledPaymentId(String), GratuityEnabled(bool), FinancingProductType(FinancingProductTypeEnumType), SubscriptionPaymentsSetting(SubscriptionPaymentsSettingEnumType),
}

Variants§

§

Id(String)

§

SyncToken(String)

§

MetaData(ModificationMetaDataType)

§

CustomField(CustomFieldType)

§

AttachableRef(AttachableRefType)

§

DocNumber(String)

§

TxnDate(String)

§

DepartmentRef(ReferenceTypeType)

§

CurrencyRef(ReferenceTypeType)

§

ExchangeRate(f64)

§

PrivateNote(String)

§

TxnStatus(String)

§

LinkedTxn(LinkedTxnType)

§

Line(LineType)

§

TxnTaxDetail(TxnTaxDetailType)

§

TxnSource(String)

§

TaxFormType(String)

§

TaxFormNum(String)

§

TransactionLocationType(String)

§

Tag(TagType)

§

TxnApprovalInfo(TxnApprovalInfoType)

§

RecurDataRef(ReferenceTypeType)

§

RecurringInfo(RecurringInfoType)

§

ProjectRef(ReferenceTypeType)

§

TotalCostAmount(f64)

§

HomeTotalCostAmount(f64)

§

AutoDocNumber(bool)

§

CustomerRef(ReferenceTypeType)

§

CustomerMemo(MemoRefType)

§

BillAddr(PhysicalAddressType)

§

ShipAddr(PhysicalAddressType)

§

FreeFormAddress(bool)

§

ShipFromAddr(PhysicalAddressType)

§

RemitToRef(ReferenceTypeType)

§

ClassRef(ReferenceTypeType)

§

SalesTermRef(ReferenceTypeType)

§

DueDate(String)

§

SalesRepRef(ReferenceTypeType)

§

PoNumber(String)

§

Fob(String)

§

ShipMethodRef(ReferenceTypeType)

§

ShipDate(String)

§

TrackingNum(String)

§

GlobalTaxCalculation(GlobalTaxCalculationEnumType)

§

TotalAmt(f64)

§

HomeTotalAmt(f64)

§

ApplyTaxAfterDiscount(bool)

§

ShippingTaxIncludedInTotalTax(bool)

§

TemplateRef(ReferenceTypeType)

§

PrintStatus(PrintStatusEnumType)

§

EmailStatus(EmailStatusEnumType)

§

BillEmail(EmailAddressType)

§

BillEmailCc(EmailAddressType)

§

BillEmailBcc(EmailAddressType)

§

ArAccountRef(ReferenceTypeType)

§

Balance(f64)

§

HomeBalance(f64)

§

FinanceCharge(bool)

§

PaymentMethodRef(ReferenceTypeType)

§

PaymentRefNum(String)

§

PaymentType(PaymentTypeEnumType)

§

CheckPayment(CheckPaymentType)

§

CreditCardPayment(CreditCardPaymentType)

§

DepositToAccountRef(ReferenceTypeType)

§

DeliveryInfo(TransactionDeliveryInfoType)

§

DiscountRate(f64)

§

DiscountAmt(f64)

§

GovtTxnRefIdentifier(String)

§

TaxExemptionRef(ReferenceTypeType)

§

Deposit(f64)

§

AllowIpnPayment(bool)

§

AllowOnlinePayment(bool)

§

AllowOnlineCreditCardPayment(bool)

§

AllowOnlineAchPayment(bool)

§

AllowOnlinePayPalPayment(bool)

§

EInvoiceStatus(ETransactionStatusEnumType)

§

ECloudStatusTimeStamp(String)

§

CfdiUse(i32)

§

Exportation(String)

§

GlobalInfo(MxGlobalInfoType)

§

InvoiceStatus(String)

§

CallToAction(String)

§

InvoiceStatusLog(StatusInfoType)

§

InvoiceEx(IntuitAnyTypeType)

§

LessCis(f64)

§

PaymentDetailsMessage(String)

§

ConvenienceFeeDetail(ConvenienceFeeDetailType)

§

InvoiceLinkSecurityCode(String)

§

InvoiceLinkExpiryDate(String)

§

AutoPayEligible(bool)

§

SchedulePayEligible(bool)

§

ScheduledPaymentId(String)

§

GratuityEnabled(bool)

§

FinancingProductType(FinancingProductTypeEnumType)

§

SubscriptionPaymentsSetting(SubscriptionPaymentsSettingEnumType)

Trait Implementations§

Source§

impl Debug for InvoiceTypeContent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserializer<'de, InvoiceTypeContent> for InvoiceTypeContentDeserializer

Source§

fn init( helper: &mut DeserializeHelper, event: Event<'de>, ) -> DeserializerResult<'de, InvoiceTypeContent>

Initializes a new deserializer from the passed helper and the initial event. Read more
Source§

fn next( self, helper: &mut DeserializeHelper, event: Event<'de>, ) -> DeserializerResult<'de, InvoiceTypeContent>

Processes the next XML Event. Read more
Source§

fn finish( self, helper: &mut DeserializeHelper, ) -> Result<InvoiceTypeContent, Error>

Force the deserializer to finish. Read more
Source§

impl WithDeserializer for InvoiceTypeContent

Source§

type Deserializer = InvoiceTypeContentDeserializer

The deserializer to use for this type.
Source§

fn init<'de>( helper: &mut DeserializeHelper, event: Event<'de>, ) -> Result<DeserializerOutput<'de, Self>, Error>

Initializes a new deserializer for the given event using the given helper. Read more
Source§

impl WithSerializer for InvoiceTypeContent

Source§

type Serializer<'x> = InvoiceTypeContentSerializer<'x>

The serializer to use for this type.
Source§

fn serializer<'ser>( &'ser self, name: Option<&'ser str>, is_root: bool, ) -> Result<Self::Serializer<'ser>, Error>

Initializes a new serializer from the passed value. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<X> AsAny for X
where X: 'static,

Source§

fn into_any(self: Box<X>) -> Box<dyn Any>

Convert the boxed object into a boxed any.
Source§

fn as_any(&self) -> &(dyn Any + 'static)

Get a reference to the current object as Any.
Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Get a mutable reference to the current object as Any.
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<'de, R, X> DeserializeSync<'de, R> for X
where R: XmlReaderSync<'de>, X: WithDeserializer,

Source§

type Error = Error

Error that is returned by the deserialize method.
Source§

fn deserialize( reader: &mut R, ) -> Result<X, <X as DeserializeSync<'de, R>>::Error>

Deserialize the type from the passed reader. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<X> SerializeSync for X
where X: WithSerializer,

Source§

type Error = Error

Error returned by the serialize method.
Source§

fn serialize<W>( &self, root: &str, writer: &mut Writer<W>, ) -> Result<(), <X as SerializeSync>::Error>
where W: Write,

Serializes the type to XML using the provided writer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<X> WithBoxedSerializer for X
where X: WithSerializer,

Source§

fn serializer<'ser>( &'ser self, name: Option<&'ser str>, is_root: bool, ) -> Result<Box<dyn Serializer<'ser> + 'ser>, Error>

Initializes a new serializer from the passed value. Read more