Class Flags
Flag Constants class.
Constants summary
integer |
NO_FLAG
Specifies that no flag is to be used. |
#
0
|
integer |
FEMALE
Indicates that the person is a female. |
#
0
|
integer |
MALE
Indicates that the person is a male. |
#
1
|
integer |
ACCEPTED
This signifies that the invoice or reservation is accepted. |
#
1
|
integer |
PENDING
This signifies that the invoice or reservation is pending, will be set to accepted or denied. |
#
2
|
integer |
DENIED
This signifies that the invoice or reservation is denied. |
#
3
|
integer |
GA_ALL
A code which indicates that all first names should be returned with the address. |
#
1
|
integer |
GA_LAST
A code which indicates that only the last name should be returned with the address. |
#
2
|
integer |
GA_GIVEN
A code which indicates that the given name should be returned with the address. If no given name is registered, this will behave as GA_ALL. |
#
5
|
integer |
PRINT_1000
Quantity measured in 1/1000s. |
#
1
|
integer |
PRINT_100
Quantity measured in 1/100s. |
#
2
|
integer |
PRINT_10
Quantity measured in 1/10s. |
#
4
|
integer |
IS_SHIPMENT
Indicates that the item is a shipment fee. |
#
8
|
integer |
IS_HANDLING
Indicates that the item is a handling fee. |
#
16
|
integer |
INC_VAT
Article price including VAT. |
#
32
|
integer |
CHECKOUT_PAGE
Signifies that this is to be displayed in the checkout. |
#
0
|
integer |
PRODUCT_PAGE
Signifies that this is to be displayed in the product page. |
#
1
|
integer |
IS_BILLING
Signifies that the specified address is billing address. |
#
100
|
integer |
IS_SHIPPING
Signifies that the specified address is shipping address. |
#
101
|
integer |
TEST_MODE
Indicates that the purchase is a test invoice/part payment. |
#
2
|
integer |
PCLASS_INVOICE
PClass id/value for invoices. |
#
-1
|
integer |
AUTO_ACTIVATE
Activates an invoices automatically, requires setting in Klarna Online. |
#
1
|
integer |
SENSITIVE_ORDER
Used to flag a purchase as sensitive order. |
#
1024
|
integer |
RETURN_OCR
Used to return an array with long and short ocr number. |
#
8192
|
integer |
NORMAL_SHIPMENT
Specifies the shipment type as normal. |
#
1
|
integer |
EXPRESS_SHIPMENT
Specifies the shipment type as express. |
#
2
|
integer |
M_PHONE_TRANSACTION
Marks the transaction as Klarna mobile. |
#
262144
|
integer |
M_SEND_PHONE_PIN
Sends a pin code to the phone sent in pno. |
#
524288
|
integer |
NEW_AMOUNT
Signifies that the amount specified is the new amount. |
#
0
|
integer |
ADD_AMOUNT
Signifies that the amount specified is to be added. |
#
1
|
integer |
RSRV_SEND_BY_MAIL
Sends the invoice by mail when activating a reservation. |
#
4
|
integer |
RSRV_SEND_BY_EMAIL
Sends the invoice by e-mail when activating a reservation. |
#
8
|
integer |
RSRV_PRESERVE_RESERVATION
Used for partial deliveries, this flag saves the reservation number so it can be used again. |
#
16
|
integer |
RSRV_SENSITIVE_ORDER
Used to flag a purchase as sensitive order. |
#
32
|
integer |
RSRV_PHONE_TRANSACTION
Marks the transaction as Klarna mobile. |
#
512
|
integer |
RSRV_SEND_PHONE_PIN
Sends a pin code to the mobile number. |
#
1024
|