...
The key to be removed from the flexAttributes of the order.
void order.sanitizePiceds()
Calls sanitizePiced on all orderItems of the order. This opens the picedstore of each of the order's orderItems and runs ImageMagick convert
over the images to repair images with broken pixels.
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.sanitizePiceds()
... |
order.scheduleForPrint()
Schedules the order for printing
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.scheduleForPrint()
... |
...
Sets the value of a specified key for a given order.
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.set(key, value, [options])
... |
...
bool order.setBackendState(status)
Sets the backend state
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.setBackendState(status)
... |
...
bool order.setBackendUuid(uuid)
Sets the backend uuid
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.setBackendUuid(uuid)
... |
...
bool order.setBookingState(status)
Sets the booking state
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.setBookingState(status)
... |
...
bool order.setCustomerHint(hint)
Sets the customer hint
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.setCustomerHint(hint)
... |
...
bool order.setFinanceState(status)
Sets the finance state
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.setFinanceState(status)
... |
...
Sets how much has been payed in cent
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.setPayed(cent)
... |
...
Sets the day of the payment
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.setPaymentDate(date)
... |
...
Sets the prodution state to status
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.setProductionState(status)
... |
...
bool order.setScheduledDate(date)
Sets the schedules date
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.setScheduledDate(date)
... |
...
Sets the shipping costs in cent
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.setShipping(cent)
... |
...
Sets the support state to status
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.setSupportState(status)
... |
...
Returns the shipping costs in cent
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.shipping
... |
...
Returns the shipping address
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.shippingAddress
... |
...
Returns the support state
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.supportState
... |
int order.tax
Returns the tax in cent
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.tax
... |
order.undelete()
Undeletes an order
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.undelete()
... |
...
Returns the uuid of the order
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.uuid
... |
...
Returns the voucher as orderItem
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
order.voucher
... |
...