matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/ModelSales.go

532 lines
21 KiB
Go
Raw Permalink Normal View History

// Code generated by msgraph-generate.go DO NOT EDIT.
package msgraph
import "time"
// SalesCreditMemo undocumented
type SalesCreditMemo struct {
// Entity is the base model of SalesCreditMemo
Entity
// Number undocumented
Number *string `json:"number,omitempty"`
// ExternalDocumentNumber undocumented
ExternalDocumentNumber *string `json:"externalDocumentNumber,omitempty"`
// CreditMemoDate undocumented
CreditMemoDate *Date `json:"creditMemoDate,omitempty"`
// DueDate undocumented
DueDate *Date `json:"dueDate,omitempty"`
// CustomerID undocumented
CustomerID *UUID `json:"customerId,omitempty"`
// CustomerNumber undocumented
CustomerNumber *string `json:"customerNumber,omitempty"`
// CustomerName undocumented
CustomerName *string `json:"customerName,omitempty"`
// BillToName undocumented
BillToName *string `json:"billToName,omitempty"`
// BillToCustomerID undocumented
BillToCustomerID *UUID `json:"billToCustomerId,omitempty"`
// BillToCustomerNumber undocumented
BillToCustomerNumber *string `json:"billToCustomerNumber,omitempty"`
// SellingPostalAddress undocumented
SellingPostalAddress *PostalAddressType `json:"sellingPostalAddress,omitempty"`
// BillingPostalAddress undocumented
BillingPostalAddress *PostalAddressType `json:"billingPostalAddress,omitempty"`
// CurrencyID undocumented
CurrencyID *UUID `json:"currencyId,omitempty"`
// CurrencyCode undocumented
CurrencyCode *string `json:"currencyCode,omitempty"`
// PaymentTermsID undocumented
PaymentTermsID *UUID `json:"paymentTermsId,omitempty"`
// Salesperson undocumented
Salesperson *string `json:"salesperson,omitempty"`
// PricesIncludeTax undocumented
PricesIncludeTax *bool `json:"pricesIncludeTax,omitempty"`
// DiscountAmount undocumented
DiscountAmount *int `json:"discountAmount,omitempty"`
// DiscountAppliedBeforeTax undocumented
DiscountAppliedBeforeTax *bool `json:"discountAppliedBeforeTax,omitempty"`
// TotalAmountExcludingTax undocumented
TotalAmountExcludingTax *int `json:"totalAmountExcludingTax,omitempty"`
// TotalTaxAmount undocumented
TotalTaxAmount *int `json:"totalTaxAmount,omitempty"`
// TotalAmountIncludingTax undocumented
TotalAmountIncludingTax *int `json:"totalAmountIncludingTax,omitempty"`
// Status undocumented
Status *string `json:"status,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// InvoiceID undocumented
InvoiceID *UUID `json:"invoiceId,omitempty"`
// InvoiceNumber undocumented
InvoiceNumber *string `json:"invoiceNumber,omitempty"`
// PhoneNumber undocumented
PhoneNumber *string `json:"phoneNumber,omitempty"`
// Email undocumented
Email *string `json:"email,omitempty"`
// SalesCreditMemoLines undocumented
SalesCreditMemoLines []SalesCreditMemoLine `json:"salesCreditMemoLines,omitempty"`
// Customer undocumented
Customer *Customer `json:"customer,omitempty"`
// Currency undocumented
Currency *Currency `json:"currency,omitempty"`
// PaymentTerm undocumented
PaymentTerm *PaymentTerm `json:"paymentTerm,omitempty"`
}
// SalesCreditMemoLine undocumented
type SalesCreditMemoLine struct {
// Entity is the base model of SalesCreditMemoLine
Entity
// DocumentID undocumented
DocumentID *UUID `json:"documentId,omitempty"`
// Sequence undocumented
Sequence *int `json:"sequence,omitempty"`
// ItemID undocumented
ItemID *UUID `json:"itemId,omitempty"`
// AccountID undocumented
AccountID *UUID `json:"accountId,omitempty"`
// LineType undocumented
LineType *string `json:"lineType,omitempty"`
// Description undocumented
Description *string `json:"description,omitempty"`
// UnitOfMeasureID undocumented
UnitOfMeasureID *UUID `json:"unitOfMeasureId,omitempty"`
// UnitPrice undocumented
UnitPrice *int `json:"unitPrice,omitempty"`
// Quantity undocumented
Quantity *int `json:"quantity,omitempty"`
// DiscountAmount undocumented
DiscountAmount *int `json:"discountAmount,omitempty"`
// DiscountPercent undocumented
DiscountPercent *int `json:"discountPercent,omitempty"`
// DiscountAppliedBeforeTax undocumented
DiscountAppliedBeforeTax *bool `json:"discountAppliedBeforeTax,omitempty"`
// AmountExcludingTax undocumented
AmountExcludingTax *int `json:"amountExcludingTax,omitempty"`
// TaxCode undocumented
TaxCode *string `json:"taxCode,omitempty"`
// TaxPercent undocumented
TaxPercent *int `json:"taxPercent,omitempty"`
// TotalTaxAmount undocumented
TotalTaxAmount *int `json:"totalTaxAmount,omitempty"`
// AmountIncludingTax undocumented
AmountIncludingTax *int `json:"amountIncludingTax,omitempty"`
// InvoiceDiscountAllocation undocumented
InvoiceDiscountAllocation *int `json:"invoiceDiscountAllocation,omitempty"`
// NetAmount undocumented
NetAmount *int `json:"netAmount,omitempty"`
// NetTaxAmount undocumented
NetTaxAmount *int `json:"netTaxAmount,omitempty"`
// NetAmountIncludingTax undocumented
NetAmountIncludingTax *int `json:"netAmountIncludingTax,omitempty"`
// ShipmentDate undocumented
ShipmentDate *Date `json:"shipmentDate,omitempty"`
// Item undocumented
Item *Item `json:"item,omitempty"`
// Account undocumented
Account *Account `json:"account,omitempty"`
}
// SalesInvoice undocumented
type SalesInvoice struct {
// Entity is the base model of SalesInvoice
Entity
// Number undocumented
Number *string `json:"number,omitempty"`
// ExternalDocumentNumber undocumented
ExternalDocumentNumber *string `json:"externalDocumentNumber,omitempty"`
// InvoiceDate undocumented
InvoiceDate *Date `json:"invoiceDate,omitempty"`
// DueDate undocumented
DueDate *Date `json:"dueDate,omitempty"`
// CustomerPurchaseOrderReference undocumented
CustomerPurchaseOrderReference *string `json:"customerPurchaseOrderReference,omitempty"`
// CustomerID undocumented
CustomerID *UUID `json:"customerId,omitempty"`
// CustomerNumber undocumented
CustomerNumber *string `json:"customerNumber,omitempty"`
// CustomerName undocumented
CustomerName *string `json:"customerName,omitempty"`
// BillToName undocumented
BillToName *string `json:"billToName,omitempty"`
// BillToCustomerID undocumented
BillToCustomerID *UUID `json:"billToCustomerId,omitempty"`
// BillToCustomerNumber undocumented
BillToCustomerNumber *string `json:"billToCustomerNumber,omitempty"`
// ShipToName undocumented
ShipToName *string `json:"shipToName,omitempty"`
// ShipToContact undocumented
ShipToContact *string `json:"shipToContact,omitempty"`
// SellingPostalAddress undocumented
SellingPostalAddress *PostalAddressType `json:"sellingPostalAddress,omitempty"`
// BillingPostalAddress undocumented
BillingPostalAddress *PostalAddressType `json:"billingPostalAddress,omitempty"`
// ShippingPostalAddress undocumented
ShippingPostalAddress *PostalAddressType `json:"shippingPostalAddress,omitempty"`
// CurrencyID undocumented
CurrencyID *UUID `json:"currencyId,omitempty"`
// CurrencyCode undocumented
CurrencyCode *string `json:"currencyCode,omitempty"`
// OrderID undocumented
OrderID *UUID `json:"orderId,omitempty"`
// OrderNumber undocumented
OrderNumber *string `json:"orderNumber,omitempty"`
// PaymentTermsID undocumented
PaymentTermsID *UUID `json:"paymentTermsId,omitempty"`
// ShipmentMethodID undocumented
ShipmentMethodID *UUID `json:"shipmentMethodId,omitempty"`
// Salesperson undocumented
Salesperson *string `json:"salesperson,omitempty"`
// PricesIncludeTax undocumented
PricesIncludeTax *bool `json:"pricesIncludeTax,omitempty"`
// DiscountAmount undocumented
DiscountAmount *int `json:"discountAmount,omitempty"`
// DiscountAppliedBeforeTax undocumented
DiscountAppliedBeforeTax *bool `json:"discountAppliedBeforeTax,omitempty"`
// TotalAmountExcludingTax undocumented
TotalAmountExcludingTax *int `json:"totalAmountExcludingTax,omitempty"`
// TotalTaxAmount undocumented
TotalTaxAmount *int `json:"totalTaxAmount,omitempty"`
// TotalAmountIncludingTax undocumented
TotalAmountIncludingTax *int `json:"totalAmountIncludingTax,omitempty"`
// Status undocumented
Status *string `json:"status,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// PhoneNumber undocumented
PhoneNumber *string `json:"phoneNumber,omitempty"`
// Email undocumented
Email *string `json:"email,omitempty"`
// SalesInvoiceLines undocumented
SalesInvoiceLines []SalesInvoiceLine `json:"salesInvoiceLines,omitempty"`
// Customer undocumented
Customer *Customer `json:"customer,omitempty"`
// Currency undocumented
Currency *Currency `json:"currency,omitempty"`
// PaymentTerm undocumented
PaymentTerm *PaymentTerm `json:"paymentTerm,omitempty"`
// ShipmentMethod undocumented
ShipmentMethod *ShipmentMethod `json:"shipmentMethod,omitempty"`
}
// SalesInvoiceLine undocumented
type SalesInvoiceLine struct {
// Entity is the base model of SalesInvoiceLine
Entity
// DocumentID undocumented
DocumentID *UUID `json:"documentId,omitempty"`
// Sequence undocumented
Sequence *int `json:"sequence,omitempty"`
// ItemID undocumented
ItemID *UUID `json:"itemId,omitempty"`
// AccountID undocumented
AccountID *UUID `json:"accountId,omitempty"`
// LineType undocumented
LineType *string `json:"lineType,omitempty"`
// Description undocumented
Description *string `json:"description,omitempty"`
// UnitOfMeasureID undocumented
UnitOfMeasureID *UUID `json:"unitOfMeasureId,omitempty"`
// UnitPrice undocumented
UnitPrice *int `json:"unitPrice,omitempty"`
// Quantity undocumented
Quantity *int `json:"quantity,omitempty"`
// DiscountAmount undocumented
DiscountAmount *int `json:"discountAmount,omitempty"`
// DiscountPercent undocumented
DiscountPercent *int `json:"discountPercent,omitempty"`
// DiscountAppliedBeforeTax undocumented
DiscountAppliedBeforeTax *bool `json:"discountAppliedBeforeTax,omitempty"`
// AmountExcludingTax undocumented
AmountExcludingTax *int `json:"amountExcludingTax,omitempty"`
// TaxCode undocumented
TaxCode *string `json:"taxCode,omitempty"`
// TaxPercent undocumented
TaxPercent *int `json:"taxPercent,omitempty"`
// TotalTaxAmount undocumented
TotalTaxAmount *int `json:"totalTaxAmount,omitempty"`
// AmountIncludingTax undocumented
AmountIncludingTax *int `json:"amountIncludingTax,omitempty"`
// InvoiceDiscountAllocation undocumented
InvoiceDiscountAllocation *int `json:"invoiceDiscountAllocation,omitempty"`
// NetAmount undocumented
NetAmount *int `json:"netAmount,omitempty"`
// NetTaxAmount undocumented
NetTaxAmount *int `json:"netTaxAmount,omitempty"`
// NetAmountIncludingTax undocumented
NetAmountIncludingTax *int `json:"netAmountIncludingTax,omitempty"`
// ShipmentDate undocumented
ShipmentDate *Date `json:"shipmentDate,omitempty"`
// Item undocumented
Item *Item `json:"item,omitempty"`
// Account undocumented
Account *Account `json:"account,omitempty"`
}
// SalesOrder undocumented
type SalesOrder struct {
// Entity is the base model of SalesOrder
Entity
// Number undocumented
Number *string `json:"number,omitempty"`
// ExternalDocumentNumber undocumented
ExternalDocumentNumber *string `json:"externalDocumentNumber,omitempty"`
// OrderDate undocumented
OrderDate *Date `json:"orderDate,omitempty"`
// CustomerID undocumented
CustomerID *UUID `json:"customerId,omitempty"`
// CustomerNumber undocumented
CustomerNumber *string `json:"customerNumber,omitempty"`
// CustomerName undocumented
CustomerName *string `json:"customerName,omitempty"`
// BillToName undocumented
BillToName *string `json:"billToName,omitempty"`
// BillToCustomerID undocumented
BillToCustomerID *UUID `json:"billToCustomerId,omitempty"`
// BillToCustomerNumber undocumented
BillToCustomerNumber *string `json:"billToCustomerNumber,omitempty"`
// ShipToName undocumented
ShipToName *string `json:"shipToName,omitempty"`
// ShipToContact undocumented
ShipToContact *string `json:"shipToContact,omitempty"`
// SellingPostalAddress undocumented
SellingPostalAddress *PostalAddressType `json:"sellingPostalAddress,omitempty"`
// BillingPostalAddress undocumented
BillingPostalAddress *PostalAddressType `json:"billingPostalAddress,omitempty"`
// ShippingPostalAddress undocumented
ShippingPostalAddress *PostalAddressType `json:"shippingPostalAddress,omitempty"`
// CurrencyID undocumented
CurrencyID *UUID `json:"currencyId,omitempty"`
// CurrencyCode undocumented
CurrencyCode *string `json:"currencyCode,omitempty"`
// PricesIncludeTax undocumented
PricesIncludeTax *bool `json:"pricesIncludeTax,omitempty"`
// PaymentTermsID undocumented
PaymentTermsID *UUID `json:"paymentTermsId,omitempty"`
// Salesperson undocumented
Salesperson *string `json:"salesperson,omitempty"`
// PartialShipping undocumented
PartialShipping *bool `json:"partialShipping,omitempty"`
// RequestedDeliveryDate undocumented
RequestedDeliveryDate *Date `json:"requestedDeliveryDate,omitempty"`
// DiscountAmount undocumented
DiscountAmount *int `json:"discountAmount,omitempty"`
// DiscountAppliedBeforeTax undocumented
DiscountAppliedBeforeTax *bool `json:"discountAppliedBeforeTax,omitempty"`
// TotalAmountExcludingTax undocumented
TotalAmountExcludingTax *int `json:"totalAmountExcludingTax,omitempty"`
// TotalTaxAmount undocumented
TotalTaxAmount *int `json:"totalTaxAmount,omitempty"`
// TotalAmountIncludingTax undocumented
TotalAmountIncludingTax *int `json:"totalAmountIncludingTax,omitempty"`
// FullyShipped undocumented
FullyShipped *bool `json:"fullyShipped,omitempty"`
// Status undocumented
Status *string `json:"status,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// PhoneNumber undocumented
PhoneNumber *string `json:"phoneNumber,omitempty"`
// Email undocumented
Email *string `json:"email,omitempty"`
// SalesOrderLines undocumented
SalesOrderLines []SalesOrderLine `json:"salesOrderLines,omitempty"`
// Customer undocumented
Customer *Customer `json:"customer,omitempty"`
// Currency undocumented
Currency *Currency `json:"currency,omitempty"`
// PaymentTerm undocumented
PaymentTerm *PaymentTerm `json:"paymentTerm,omitempty"`
}
// SalesOrderLine undocumented
type SalesOrderLine struct {
// Entity is the base model of SalesOrderLine
Entity
// DocumentID undocumented
DocumentID *UUID `json:"documentId,omitempty"`
// Sequence undocumented
Sequence *int `json:"sequence,omitempty"`
// ItemID undocumented
ItemID *UUID `json:"itemId,omitempty"`
// AccountID undocumented
AccountID *UUID `json:"accountId,omitempty"`
// LineType undocumented
LineType *string `json:"lineType,omitempty"`
// Description undocumented
Description *string `json:"description,omitempty"`
// UnitOfMeasureID undocumented
UnitOfMeasureID *UUID `json:"unitOfMeasureId,omitempty"`
// Quantity undocumented
Quantity *int `json:"quantity,omitempty"`
// UnitPrice undocumented
UnitPrice *int `json:"unitPrice,omitempty"`
// DiscountAmount undocumented
DiscountAmount *int `json:"discountAmount,omitempty"`
// DiscountPercent undocumented
DiscountPercent *int `json:"discountPercent,omitempty"`
// DiscountAppliedBeforeTax undocumented
DiscountAppliedBeforeTax *bool `json:"discountAppliedBeforeTax,omitempty"`
// AmountExcludingTax undocumented
AmountExcludingTax *int `json:"amountExcludingTax,omitempty"`
// TaxCode undocumented
TaxCode *string `json:"taxCode,omitempty"`
// TaxPercent undocumented
TaxPercent *int `json:"taxPercent,omitempty"`
// TotalTaxAmount undocumented
TotalTaxAmount *int `json:"totalTaxAmount,omitempty"`
// AmountIncludingTax undocumented
AmountIncludingTax *int `json:"amountIncludingTax,omitempty"`
// InvoiceDiscountAllocation undocumented
InvoiceDiscountAllocation *int `json:"invoiceDiscountAllocation,omitempty"`
// NetAmount undocumented
NetAmount *int `json:"netAmount,omitempty"`
// NetTaxAmount undocumented
NetTaxAmount *int `json:"netTaxAmount,omitempty"`
// NetAmountIncludingTax undocumented
NetAmountIncludingTax *int `json:"netAmountIncludingTax,omitempty"`
// ShipmentDate undocumented
ShipmentDate *Date `json:"shipmentDate,omitempty"`
// ShippedQuantity undocumented
ShippedQuantity *int `json:"shippedQuantity,omitempty"`
// InvoicedQuantity undocumented
InvoicedQuantity *int `json:"invoicedQuantity,omitempty"`
// InvoiceQuantity undocumented
InvoiceQuantity *int `json:"invoiceQuantity,omitempty"`
// ShipQuantity undocumented
ShipQuantity *int `json:"shipQuantity,omitempty"`
// Item undocumented
Item *Item `json:"item,omitempty"`
// Account undocumented
Account *Account `json:"account,omitempty"`
}
// SalesQuote undocumented
type SalesQuote struct {
// Entity is the base model of SalesQuote
Entity
// Number undocumented
Number *string `json:"number,omitempty"`
// ExternalDocumentNumber undocumented
ExternalDocumentNumber *string `json:"externalDocumentNumber,omitempty"`
// DocumentDate undocumented
DocumentDate *Date `json:"documentDate,omitempty"`
// DueDate undocumented
DueDate *Date `json:"dueDate,omitempty"`
// CustomerID undocumented
CustomerID *UUID `json:"customerId,omitempty"`
// CustomerNumber undocumented
CustomerNumber *string `json:"customerNumber,omitempty"`
// CustomerName undocumented
CustomerName *string `json:"customerName,omitempty"`
// BillToName undocumented
BillToName *string `json:"billToName,omitempty"`
// BillToCustomerID undocumented
BillToCustomerID *UUID `json:"billToCustomerId,omitempty"`
// BillToCustomerNumber undocumented
BillToCustomerNumber *string `json:"billToCustomerNumber,omitempty"`
// ShipToName undocumented
ShipToName *string `json:"shipToName,omitempty"`
// ShipToContact undocumented
ShipToContact *string `json:"shipToContact,omitempty"`
// SellingPostalAddress undocumented
SellingPostalAddress *PostalAddressType `json:"sellingPostalAddress,omitempty"`
// BillingPostalAddress undocumented
BillingPostalAddress *PostalAddressType `json:"billingPostalAddress,omitempty"`
// ShippingPostalAddress undocumented
ShippingPostalAddress *PostalAddressType `json:"shippingPostalAddress,omitempty"`
// CurrencyID undocumented
CurrencyID *UUID `json:"currencyId,omitempty"`
// CurrencyCode undocumented
CurrencyCode *string `json:"currencyCode,omitempty"`
// PaymentTermsID undocumented
PaymentTermsID *UUID `json:"paymentTermsId,omitempty"`
// ShipmentMethodID undocumented
ShipmentMethodID *UUID `json:"shipmentMethodId,omitempty"`
// Salesperson undocumented
Salesperson *string `json:"salesperson,omitempty"`
// DiscountAmount undocumented
DiscountAmount *int `json:"discountAmount,omitempty"`
// TotalAmountExcludingTax undocumented
TotalAmountExcludingTax *int `json:"totalAmountExcludingTax,omitempty"`
// TotalTaxAmount undocumented
TotalTaxAmount *int `json:"totalTaxAmount,omitempty"`
// TotalAmountIncludingTax undocumented
TotalAmountIncludingTax *int `json:"totalAmountIncludingTax,omitempty"`
// Status undocumented
Status *string `json:"status,omitempty"`
// SentDate undocumented
SentDate *time.Time `json:"sentDate,omitempty"`
// ValidUntilDate undocumented
ValidUntilDate *Date `json:"validUntilDate,omitempty"`
// AcceptedDate undocumented
AcceptedDate *Date `json:"acceptedDate,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// PhoneNumber undocumented
PhoneNumber *string `json:"phoneNumber,omitempty"`
// Email undocumented
Email *string `json:"email,omitempty"`
// SalesQuoteLines undocumented
SalesQuoteLines []SalesQuoteLine `json:"salesQuoteLines,omitempty"`
// Customer undocumented
Customer *Customer `json:"customer,omitempty"`
// Currency undocumented
Currency *Currency `json:"currency,omitempty"`
// PaymentTerm undocumented
PaymentTerm *PaymentTerm `json:"paymentTerm,omitempty"`
// ShipmentMethod undocumented
ShipmentMethod *ShipmentMethod `json:"shipmentMethod,omitempty"`
}
// SalesQuoteLine undocumented
type SalesQuoteLine struct {
// Entity is the base model of SalesQuoteLine
Entity
// DocumentID undocumented
DocumentID *UUID `json:"documentId,omitempty"`
// Sequence undocumented
Sequence *int `json:"sequence,omitempty"`
// ItemID undocumented
ItemID *UUID `json:"itemId,omitempty"`
// AccountID undocumented
AccountID *UUID `json:"accountId,omitempty"`
// LineType undocumented
LineType *string `json:"lineType,omitempty"`
// Description undocumented
Description *string `json:"description,omitempty"`
// UnitOfMeasureID undocumented
UnitOfMeasureID *UUID `json:"unitOfMeasureId,omitempty"`
// UnitPrice undocumented
UnitPrice *int `json:"unitPrice,omitempty"`
// Quantity undocumented
Quantity *int `json:"quantity,omitempty"`
// DiscountAmount undocumented
DiscountAmount *int `json:"discountAmount,omitempty"`
// DiscountPercent undocumented
DiscountPercent *int `json:"discountPercent,omitempty"`
// DiscountAppliedBeforeTax undocumented
DiscountAppliedBeforeTax *bool `json:"discountAppliedBeforeTax,omitempty"`
// AmountExcludingTax undocumented
AmountExcludingTax *int `json:"amountExcludingTax,omitempty"`
// TaxCode undocumented
TaxCode *string `json:"taxCode,omitempty"`
// TaxPercent undocumented
TaxPercent *int `json:"taxPercent,omitempty"`
// TotalTaxAmount undocumented
TotalTaxAmount *int `json:"totalTaxAmount,omitempty"`
// AmountIncludingTax undocumented
AmountIncludingTax *int `json:"amountIncludingTax,omitempty"`
// NetAmount undocumented
NetAmount *int `json:"netAmount,omitempty"`
// NetTaxAmount undocumented
NetTaxAmount *int `json:"netTaxAmount,omitempty"`
// NetAmountIncludingTax undocumented
NetAmountIncludingTax *int `json:"netAmountIncludingTax,omitempty"`
// Item undocumented
Item *Item `json:"item,omitempty"`
// Account undocumented
Account *Account `json:"account,omitempty"`
}