Skip to content

Files

Latest commit

b9962ac · Oct 28, 2022

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 28, 2022
Oct 28, 2022
Oct 28, 2022

@swedbank-pay/sdk

@swedbank-pay/sdk

Index

Classes

Interfaces

Type aliases

Variables

Type aliases

PurchaseInput

Ƭ PurchaseInput: Omit‹PaymentOrderRequestResource, "operation"›

Variables

Const examplePrice

examplePrice: Price[] = [ { type: 'CreditCard', amount: 1500, vatAmount: 0, }, ]


Const genericResourceScope

genericResourceScope: Scope‹› = nock('https://api.payex.com') .get('/generic-resource') .reply(200)


Const runOperationScope

runOperationScope: Scope‹› = nock('https://api.payex.com') .get('/test') .reply(200)


Const testScope

testScope: Scope‹› = nock('https://api.payex.com') .get('/test-resource') .reply(200, PaymentResponse)