Overview
  • Namespace
  • Class

Namespaces

  • Klarna
    • XMLRPC
      • Exception

Classes

  • Address
  • Calc
  • CheckoutServiceRequest
  • CheckoutServiceResponse
  • Config
  • Country
  • CurlHandle
  • CurlTransport
  • Currency
  • Encoding
  • Flags
  • Klarna
  • Language

Class Flags

Flag Constants class.

Namespace: Klarna\XMLRPC
Located at Klarna/XMLRPC/Flags.php

Constants summary

integer NO_FLAG

Specifies that no flag is to be used.

Specifies that no flag is to be used.

# 0
integer FEMALE

Indicates that the person is a female.
Use "" or null when unspecified.
.

Indicates that the person is a female.
Use "" or null when unspecified.
.

# 0
integer MALE

Indicates that the person is a male.
Use "" or null when unspecified.
.

Indicates that the person is a male.
Use "" or null when unspecified.
.

# 1
integer ACCEPTED

This signifies that the invoice or reservation is 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.

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.

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.

A code which indicates that all first names should be returned with the address.

Formerly refered to as GA_OLD.

# 1
integer GA_LAST

A code which indicates that only the last name should be returned with the address.

A code which indicates that only the last name should be returned with the address.

Formerly referd to as GA_NEW.

# 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.

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.

Quantity measured in 1/1000s.

# 1
integer PRINT_100

Quantity measured in 1/100s.

Quantity measured in 1/100s.

# 2
integer PRINT_10

Quantity measured in 1/10s.

Quantity measured in 1/10s.

# 4
integer IS_SHIPMENT

Indicates that the item is a shipment fee.

Indicates that the item is a shipment fee.

Update_charge_amount (1)

# 8
integer IS_HANDLING

Indicates that the item is a handling fee.

Indicates that the item is a handling fee.

Update_charge_amount (2)

# 16
integer INC_VAT

Article price including VAT.

Article price including VAT.

# 32
integer CHECKOUT_PAGE

Signifies that this is to be displayed in the checkout.
Used for part payment.
.

Signifies that this is to be displayed in the checkout.
Used for part payment.
.

# 0
integer PRODUCT_PAGE

Signifies that this is to be displayed in the product page.
Used for part payment.
.

Signifies that this is to be displayed in the product page.
Used for part payment.
.

# 1
integer IS_BILLING

Signifies that the specified address is billing address.

Signifies that the specified address is billing address.

# 100
integer IS_SHIPPING

Signifies that the specified address is shipping address.

Signifies that the specified address is shipping address.

# 101
integer TEST_MODE

Indicates that the purchase is a test invoice/part payment.

Indicates that the purchase is a test invoice/part payment.

# 2
integer PCLASS_INVOICE

PClass id/value for invoices.

PClass id/value for invoices.

See

PClass::INVOICE.
# -1
integer AUTO_ACTIVATE

Activates an invoices automatically, requires setting in Klarna Online.

Activates an invoices automatically, requires setting in Klarna Online.

If you designate this flag an invoice is created directly in the active state, i.e. Klarna will buy the invoice immediately.

# 1
integer SENSITIVE_ORDER

Used to flag a purchase as 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.

Used to return an array with long and short ocr number.

See

Klarna::addTransaction()
# 8192
integer NORMAL_SHIPMENT

Specifies the shipment type as normal.

Specifies the shipment type as normal.

# 1
integer EXPRESS_SHIPMENT

Specifies the shipment type as express.

Specifies the shipment type as express.

# 2
integer M_PHONE_TRANSACTION

Marks the transaction as Klarna mobile.

Marks the transaction as Klarna mobile.

# 262144
integer M_SEND_PHONE_PIN

Sends a pin code to the phone sent in pno.

Sends a pin code to the phone sent in pno.

# 524288
integer NEW_AMOUNT

Signifies that the amount specified is the new amount.

Signifies that the amount specified is the new amount.

# 0
integer ADD_AMOUNT

Signifies that the amount specified is to be added.

Signifies that the amount specified is to be added.

# 1
integer RSRV_SEND_BY_MAIL

Sends the invoice by mail when activating a reservation.

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.

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.

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.

Used to flag a purchase as sensitive order.

# 32
integer RSRV_PHONE_TRANSACTION

Marks the transaction as Klarna mobile.

Marks the transaction as Klarna mobile.

# 512
integer RSRV_SEND_PHONE_PIN

Sends a pin code to the mobile number.

Sends a pin code to the mobile number.

# 1024
API documentation generated by ApiGen