Initial commit
parents
Showing
.gitignore
0 → 100644
.openapi-generator-ignore
0 → 100644
.openapi-generator/FILES
0 → 100644
.openapi-generator/VERSION
0 → 100644
.php-cs-fixer.dist.php
0 → 100644
.travis.yml
0 → 100644
README.md
0 → 100644
composer.json
0 → 100644
{ | ||
"description": "The payments API is used to create a session to offer Klarna's payment methods as part of your checkout. As soon as the purchase is completed the order should be read and handled using the [`Order Management API`](https://docs.klarna.com/api/ordermanagement). **Note:** Examples provided in this section includes full payloads, including all supported fields, required and optionals. In order to implement a best in class request we recommend you don't include customer details when initiating a payment session. Refer to [Initiate a payment](https://docs.klarna.com/klarna-payments/integrate-with-klarna-payments/step-1-initiate-a-payment/) section for further details. Read more on [Klarna payments](https://docs.klarna.com/klarna-payments/).", | ||
"keywords": [ | ||
"openapitools", | ||
"openapi-generator", | ||
"openapi", | ||
"php", | ||
"sdk", | ||
"rest", | ||
"api" | ||
], | ||
"homepage": "https://openapi-generator.tech", | ||
"license": "unlicense", | ||
"authors": [ | ||
{ | ||
"name": "OpenAPI", | ||
"homepage": "https://openapi-generator.tech" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.4 || ^8.0", | ||
"ext-curl": "*", | ||
"ext-json": "*", | ||
"ext-mbstring": "*", | ||
"guzzlehttp/guzzle": "^7.3", | ||
"guzzlehttp/psr7": "^1.7 || ^2.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^8.0 || ^9.0", | ||
"friendsofphp/php-cs-fixer": "^3.5" | ||
}, | ||
"autoload": { | ||
"psr-4": { "KlarnaPayments\\Client\\" : "lib/" } | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { "KlarnaPayments\\Client\\Test\\" : "test/" } | ||
} | ||
} |
docs/Api/DefaultApi.md
0 → 100644
This diff is collapsed.
Click to expand it.
docs/Model/Address.md
0 → 100644
docs/Model/AssetUrls.md
0 → 100644
docs/Model/Attachment.md
0 → 100644
docs/Model/AuthorizedPaymentMethod.md
0 → 100644
docs/Model/CreateOrderRequest.md
0 → 100644
docs/Model/Customer.md
0 → 100644
docs/Model/CustomerRead.md
0 → 100644
docs/Model/CustomerReadCreateToken.md
0 → 100644
docs/Model/CustomerTokenCreationRequest.md
0 → 100644
docs/Model/CustomerTokenCreationResponse.md
0 → 100644
docs/Model/ErrorV2.md
0 → 100644
docs/Model/MerchantSession.md
0 → 100644
docs/Model/MerchantUrls.md
0 → 100644
docs/Model/Options.md
0 → 100644
docs/Model/Order.md
0 → 100644
docs/Model/OrderLine.md
0 → 100644
docs/Model/PaymentMethodCategory.md
0 → 100644
docs/Model/ProductIdentifiers.md
0 → 100644
docs/Model/Session.md
0 → 100644
docs/Model/SessionCreate.md
0 → 100644
docs/Model/SessionRead.md
0 → 100644
docs/Model/Subscription.md
0 → 100644
git_push.sh
0 → 100644
lib/Api/DefaultApi.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/ApiException.php
0 → 100644
lib/Configuration.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/HeaderSelector.php
0 → 100644
lib/Model/Address.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/AssetUrls.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/Attachment.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/AuthorizedPaymentMethod.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/CreateOrderRequest.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/Customer.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/CustomerRead.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/CustomerReadCreateToken.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/CustomerTokenCreationRequest.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/CustomerTokenCreationResponse.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/ErrorV2.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/MerchantSession.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/MerchantUrls.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/ModelInterface.php
0 → 100644
lib/Model/Options.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/Order.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/OrderLine.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/PaymentMethodCategory.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/ProductIdentifiers.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/Session.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/SessionCreate.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/SessionRead.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/Model/Subscription.php
0 → 100644
This diff is collapsed.
Click to expand it.
lib/ObjectSerializer.php
0 → 100644
This diff is collapsed.
Click to expand it.
phpunit.xml.dist
0 → 100644
test/Api/DefaultApiTest.php
0 → 100644
test/Model/AddressTest.php
0 → 100644
test/Model/AssetUrlsTest.php
0 → 100644
test/Model/AttachmentTest.php
0 → 100644
test/Model/AuthorizedPaymentMethodTest.php
0 → 100644
test/Model/CreateOrderRequestTest.php
0 → 100644
test/Model/CustomerReadCreateTokenTest.php
0 → 100644
test/Model/CustomerReadTest.php
0 → 100644
test/Model/CustomerTest.php
0 → 100644
test/Model/ErrorV2Test.php
0 → 100644
test/Model/MerchantSessionTest.php
0 → 100644
test/Model/MerchantUrlsTest.php
0 → 100644
test/Model/OptionsTest.php
0 → 100644
test/Model/OrderLineTest.php
0 → 100644
test/Model/OrderTest.php
0 → 100644
test/Model/PaymentMethodCategoryTest.php
0 → 100644
test/Model/ProductIdentifiersTest.php
0 → 100644
test/Model/SessionCreateTest.php
0 → 100644
test/Model/SessionReadTest.php
0 → 100644
test/Model/SessionTest.php
0 → 100644
test/Model/SubscriptionTest.php
0 → 100644
Please
register
or
sign in
to comment