kiotviet-client-sdk - v0.3.4
Preparing search index...
OrderCreateParams
Interface OrderCreateParams
interface
OrderCreateParams
{
accountId
?:
number
;
branchId
:
number
;
customer
?:
{
address
?:
string
;
birthDate
?:
string
;
code
?:
string
;
comments
?:
string
;
contactNumber
?:
string
;
email
?:
string
;
gender
?:
boolean
;
id
?:
number
;
name
:
string
;
wardName
?:
string
;
}
;
customerId
?:
number
;
description
?:
string
;
discount
?:
number
;
isApplyVoucher
?:
boolean
;
makeInvoice
?:
boolean
;
method
?:
string
;
orderDelivery
?:
{
address
:
string
;
contactNumber
:
string
;
expectedDelivery
?:
string
;
height
?:
number
;
length
?:
number
;
locationId
?:
number
;
locationName
?:
string
;
partnerDelivery
?:
{
address
:
string
;
code
:
string
;
contactNumber
:
string
;
email
:
string
;
name
:
string
;
}
;
partnerDeliveryId
?:
number
;
price
?:
number
;
receiver
:
string
;
type
?:
number
;
wardName
?:
string
;
weight
?:
number
;
width
?:
number
;
}
;
orderDetails
:
{
discount
?:
number
;
discountRatio
?:
number
;
isMaster
:
boolean
;
note
?:
string
;
price
:
number
;
productCode
:
string
;
productId
:
number
;
productName
:
string
;
quantity
:
number
;
}
[]
;
purchaseDate
?:
string
;
saleChannelId
?:
number
;
totalPayment
?:
number
;
}
Index
Properties
account
Id?
branch
Id
customer?
customer
Id?
description?
discount?
is
Apply
Voucher?
make
Invoice?
method?
order
Delivery?
order
Details
purchase
Date?
sale
Channel
Id?
total
Payment?
Properties
Optional
account
Id
accountId
?:
number
branch
Id
branchId
:
number
Optional
customer
customer
?:
{
address
?:
string
;
birthDate
?:
string
;
code
?:
string
;
comments
?:
string
;
contactNumber
?:
string
;
email
?:
string
;
gender
?:
boolean
;
id
?:
number
;
name
:
string
;
wardName
?:
string
;
}
Optional
customer
Id
customerId
?:
number
Optional
description
description
?:
string
Optional
discount
discount
?:
number
Optional
is
Apply
Voucher
isApplyVoucher
?:
boolean
Optional
make
Invoice
makeInvoice
?:
boolean
Optional
method
method
?:
string
Optional
order
Delivery
orderDelivery
?:
{
address
:
string
;
contactNumber
:
string
;
expectedDelivery
?:
string
;
height
?:
number
;
length
?:
number
;
locationId
?:
number
;
locationName
?:
string
;
partnerDelivery
?:
{
address
:
string
;
code
:
string
;
contactNumber
:
string
;
email
:
string
;
name
:
string
;
}
;
partnerDeliveryId
?:
number
;
price
?:
number
;
receiver
:
string
;
type
?:
number
;
wardName
?:
string
;
weight
?:
number
;
width
?:
number
;
}
order
Details
orderDetails
:
{
discount
?:
number
;
discountRatio
?:
number
;
isMaster
:
boolean
;
note
?:
string
;
price
:
number
;
productCode
:
string
;
productId
:
number
;
productName
:
string
;
quantity
:
number
;
}
[]
Optional
purchase
Date
purchaseDate
?:
string
Optional
sale
Channel
Id
saleChannelId
?:
number
Optional
total
Payment
totalPayment
?:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
account
Id
branch
Id
customer
customer
Id
description
discount
is
Apply
Voucher
make
Invoice
method
order
Delivery
order
Details
purchase
Date
sale
Channel
Id
total
Payment
kiotviet-client-sdk - v0.3.4
Loading...