Class Orders
Payments order resource.
- ArrayObject implements IteratorAggregate, Traversable, ArrayAccess, Serializable, Countable
-
Klarna\Rest\Resource
-
Klarna\Rest\Payments\Orders
Namespace: Klarna\Rest\Payments
Example: docs/examples/PaymentsAPI/Orders/cancel_existing_authorization.php Cancel an existing authorization
Example: docs/examples/PaymentsAPI/Orders/create_order.php Create a new order
Example: docs/examples/PaymentsAPI/Orders/generate_customer_token.php Generate a consumer token
Located at Klarna/Rest/Payments/Orders.php
Example: docs/examples/PaymentsAPI/Orders/cancel_existing_authorization.php Cancel an existing authorization
Example: docs/examples/PaymentsAPI/Orders/create_order.php Create a new order
Example: docs/examples/PaymentsAPI/Orders/generate_customer_token.php Generate a consumer token
Located at Klarna/Rest/Payments/Orders.php
Methods summary
public
|
#
__construct(
Constructs an order instance. |
public
|
|
public
array
|
|
public
|
|
public
array
|
Methods inherited from Klarna\Rest\Resource
delete(),
exchangeArray(),
get(),
getId(),
getLocation(),
patch(),
post(),
put(),
request(),
setId(),
setLocation()
Methods inherited from ArrayObject
append(),
asort(),
count(),
getArrayCopy(),
getFlags(),
getIterator(),
getIteratorClass(),
ksort(),
natcasesort(),
natsort(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
serialize(),
setFlags(),
setIteratorClass(),
uasort(),
uksort(),
unserialize()
Magic methods summary
Constants summary
Constants inherited from Klarna\Rest\Resource
Constants inherited from ArrayObject
ARRAY_AS_PROPS,
STD_PROP_LIST
Properties summary
public static
string
|
$path
Path to the resource endpoint. |
#
'/payments/v1/authorizations'
|