Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagejs
linenumberstrue
... 
order.sanitizePiceds()
...

order.scheduleForPrint()

Schedules the order for printing

Example

Code Block
languagejs
linenumberstrue
... 
order.scheduleForPrint()
...

...

Sets the value of a specified key for a given order.

Example

Code Block
languagejs
linenumberstrue
... 
order.set(key, value, [options])
...

...

bool order.setBackendState(status)

Sets the backend state

Example

Code Block
languagejs
linenumberstrue
... 
order.setBackendState(status)
...

...

bool order.setBackendUuid(uuid)

Sets the backend uuid

Example

Code Block
languagejs
linenumberstrue
... 
order.setBackendUuid(uuid)
...

...

bool order.setBookingState(status)

Sets the booking state

Example

Code Block
languagejs
linenumberstrue
... 
order.setBookingState(status)
...

...

bool order.setCustomerHint(hint)

Sets the customer hint

Example

Code Block
languagejs
linenumberstrue
... 
order.setCustomerHint(hint)
...

...

bool order.setFinanceState(status)

Sets the finance state

Example

Code Block
languagejs
linenumberstrue
... 
order.setFinanceState(status)
...

...

Sets how much has been payed in cent

Example

Code Block
languagejs
linenumberstrue
... 
order.setPayed(cent)
...

...

Sets the day of the payment

Example

Code Block
languagejs
linenumberstrue
... 
order.setPaymentDate(date)
...

...

Sets the prodution state to status

Example

Code Block
languagejs
linenumberstrue
... 
order.setProductionState(status)
...

...

bool order.setScheduledDate(date)

Sets the schedules date

Example

Code Block
languagejs
linenumberstrue
... 
order.setScheduledDate(date)
...

...

Sets the shipping costs in cent

Example

Code Block
languagejs
linenumberstrue
... 
order.setShipping(cent)
...

...

Sets the support state to status

Example

Code Block
languagejs
linenumberstrue
... 
order.setSupportState(status)
...

...

Returns the shipping costs in cent

Example

Code Block
languagejs
linenumberstrue
... 
order.shipping
...

...

Returns the shipping address

Example

Code Block
languagejs
linenumberstrue
... 
order.shippingAddress
...

...

Returns the support state

Example

Code Block
languagejs
linenumberstrue
... 
order.supportState
...

int order.tax

Returns the tax in cent

Example

Code Block
languagejs
linenumberstrue
... 
order.tax
...

order.undelete()

Undeletes an order

Example

Code Block
languagejs
linenumberstrue
... 
order.undelete()
...

...

Returns the uuid of the order

Example

Code Block
languagejs
linenumberstrue
... 
order.uuid
...

...

Returns the voucher as orderItem

Example

Code Block
languagejs
linenumberstrue
... 
order.voucher
...

...