github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelCustomer.go (about)

     1  // Code generated by msgraph.go/gen DO NOT EDIT.
     2  
     3  package msgraph
     4  
     5  import "time"
     6  
     7  // Customer undocumented
     8  type Customer struct {
     9  	// Entity is the base model of Customer
    10  	Entity
    11  	// Number undocumented
    12  	Number *string `json:"number,omitempty"`
    13  	// DisplayName undocumented
    14  	DisplayName *string `json:"displayName,omitempty"`
    15  	// Type undocumented
    16  	Type *string `json:"type,omitempty"`
    17  	// Address undocumented
    18  	Address *PostalAddressType `json:"address,omitempty"`
    19  	// PhoneNumber undocumented
    20  	PhoneNumber *string `json:"phoneNumber,omitempty"`
    21  	// Email undocumented
    22  	Email *string `json:"email,omitempty"`
    23  	// Website undocumented
    24  	Website *string `json:"website,omitempty"`
    25  	// TaxLiable undocumented
    26  	TaxLiable *bool `json:"taxLiable,omitempty"`
    27  	// TaxAreaID undocumented
    28  	TaxAreaID *UUID `json:"taxAreaId,omitempty"`
    29  	// TaxAreaDisplayName undocumented
    30  	TaxAreaDisplayName *string `json:"taxAreaDisplayName,omitempty"`
    31  	// TaxRegistrationNumber undocumented
    32  	TaxRegistrationNumber *string `json:"taxRegistrationNumber,omitempty"`
    33  	// CurrencyID undocumented
    34  	CurrencyID *UUID `json:"currencyId,omitempty"`
    35  	// CurrencyCode undocumented
    36  	CurrencyCode *string `json:"currencyCode,omitempty"`
    37  	// PaymentTermsID undocumented
    38  	PaymentTermsID *UUID `json:"paymentTermsId,omitempty"`
    39  	// ShipmentMethodID undocumented
    40  	ShipmentMethodID *UUID `json:"shipmentMethodId,omitempty"`
    41  	// PaymentMethodID undocumented
    42  	PaymentMethodID *UUID `json:"paymentMethodId,omitempty"`
    43  	// Blocked undocumented
    44  	Blocked *string `json:"blocked,omitempty"`
    45  	// LastModifiedDateTime undocumented
    46  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
    47  	// Picture undocumented
    48  	Picture []Picture `json:"picture,omitempty"`
    49  	// Currency undocumented
    50  	Currency *Currency `json:"currency,omitempty"`
    51  	// PaymentTerm undocumented
    52  	PaymentTerm *PaymentTerm `json:"paymentTerm,omitempty"`
    53  	// ShipmentMethod undocumented
    54  	ShipmentMethod *ShipmentMethod `json:"shipmentMethod,omitempty"`
    55  	// PaymentMethod undocumented
    56  	PaymentMethod *PaymentMethod `json:"paymentMethod,omitempty"`
    57  }
    58  
    59  // CustomerPayment undocumented
    60  type CustomerPayment struct {
    61  	// Entity is the base model of CustomerPayment
    62  	Entity
    63  	// JournalDisplayName undocumented
    64  	JournalDisplayName *string `json:"journalDisplayName,omitempty"`
    65  	// LineNumber undocumented
    66  	LineNumber *int `json:"lineNumber,omitempty"`
    67  	// CustomerID undocumented
    68  	CustomerID *UUID `json:"customerId,omitempty"`
    69  	// CustomerNumber undocumented
    70  	CustomerNumber *string `json:"customerNumber,omitempty"`
    71  	// ContactID undocumented
    72  	ContactID *string `json:"contactId,omitempty"`
    73  	// PostingDate undocumented
    74  	PostingDate *Date `json:"postingDate,omitempty"`
    75  	// DocumentNumber undocumented
    76  	DocumentNumber *string `json:"documentNumber,omitempty"`
    77  	// ExternalDocumentNumber undocumented
    78  	ExternalDocumentNumber *string `json:"externalDocumentNumber,omitempty"`
    79  	// Amount undocumented
    80  	Amount *int `json:"amount,omitempty"`
    81  	// AppliesToInvoiceID undocumented
    82  	AppliesToInvoiceID *UUID `json:"appliesToInvoiceId,omitempty"`
    83  	// AppliesToInvoiceNumber undocumented
    84  	AppliesToInvoiceNumber *string `json:"appliesToInvoiceNumber,omitempty"`
    85  	// Description undocumented
    86  	Description *string `json:"description,omitempty"`
    87  	// Comment undocumented
    88  	Comment *string `json:"comment,omitempty"`
    89  	// LastModifiedDateTime undocumented
    90  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
    91  	// Customer undocumented
    92  	Customer *Customer `json:"customer,omitempty"`
    93  }
    94  
    95  // CustomerPaymentJournal undocumented
    96  type CustomerPaymentJournal struct {
    97  	// Entity is the base model of CustomerPaymentJournal
    98  	Entity
    99  	// Code undocumented
   100  	Code *string `json:"code,omitempty"`
   101  	// DisplayName undocumented
   102  	DisplayName *string `json:"displayName,omitempty"`
   103  	// LastModifiedDateTime undocumented
   104  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
   105  	// BalancingAccountID undocumented
   106  	BalancingAccountID *UUID `json:"balancingAccountId,omitempty"`
   107  	// BalancingAccountNumber undocumented
   108  	BalancingAccountNumber *string `json:"balancingAccountNumber,omitempty"`
   109  	// CustomerPayments undocumented
   110  	CustomerPayments []CustomerPayment `json:"customerPayments,omitempty"`
   111  	// Account undocumented
   112  	Account *Account `json:"account,omitempty"`
   113  }