Search
Preparing search index...
The search index is not available
Ingenico Connect JavaScript SDK
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"index.d"
"connectsdk.C2SCommunicator"
C2SCommunicator
Class C2SCommunicator
Hierarchy
C2SCommunicator
Index
Constructors
constructor
Properties
convert
Amount
convert
Context
ToIin
Details
Context
create
Payment
Product
Session
get
Basic
Payment
Product
Groups
get
Basic
Payment
Products
get
Customer
Details
get
Payment
Product
get
Payment
Product
Directory
get
Payment
Product
Group
get
Payment
Product
IdBy
Credit
Card
Number
get
Payment
Product
Networks
get
Public
Key
get
Third
Party
Payment
Status
init
Apple
Pay
Payment
transform
Payment
ProductJSON
Constructors
constructor
new
C2SCommunicator
(
c2SCommunicatorConfiguration
:
C2SCommunicatorConfiguration
, paymentProduct
?:
PaymentProductJSON
|
PaymentProductGroupJSON
)
:
C2SCommunicator
Parameters
c2SCommunicatorConfiguration:
C2SCommunicatorConfiguration
Optional
paymentProduct:
PaymentProductJSON
|
PaymentProductGroupJSON
Returns
C2SCommunicator
Properties
Readonly
convert
Amount
convert
Amount
:
(
amount
:
number
, source
:
string
, target
:
string
)
=>
Promise
<
ConvertAmountJSON
>
Type declaration
(
amount
:
number
, source
:
string
, target
:
string
)
:
Promise
<
ConvertAmountJSON
>
Parameters
amount:
number
source:
string
target:
string
Returns
Promise
<
ConvertAmountJSON
>
Readonly
convert
Context
ToIin
Details
Context
convert
Context
ToIin
Details
Context
:
(
partialCreditCardNumber
:
string
, context
:
C2SPaymentProductContext
)
=>
GetIINDetailsRequestJSON
Type declaration
(
partialCreditCardNumber
:
string
, context
:
C2SPaymentProductContext
)
:
GetIINDetailsRequestJSON
Parameters
partialCreditCardNumber:
string
context:
C2SPaymentProductContext
Returns
GetIINDetailsRequestJSON
Readonly
create
Payment
Product
Session
create
Payment
Product
Session
:
(
paymentProductId
:
number
, context
:
PaymentProductSessionContext
)
=>
Promise
<
CreatePaymentProductSessionResponseJSON
>
Type declaration
(
paymentProductId
:
number
, context
:
PaymentProductSessionContext
)
:
Promise
<
CreatePaymentProductSessionResponseJSON
>
Parameters
paymentProductId:
number
context:
PaymentProductSessionContext
Returns
Promise
<
CreatePaymentProductSessionResponseJSON
>
Readonly
get
Basic
Payment
Product
Groups
get
Basic
Payment
Product
Groups
:
(
context
:
C2SPaymentProductContext
)
=>
Promise
<
PaymentProductGroupsJSON
>
Type declaration
(
context
:
C2SPaymentProductContext
)
:
Promise
<
PaymentProductGroupsJSON
>
Parameters
context:
C2SPaymentProductContext
Returns
Promise
<
PaymentProductGroupsJSON
>
Readonly
get
Basic
Payment
Products
get
Basic
Payment
Products
:
(
context
:
C2SPaymentProductContext
, paymentProductSpecificInputs
?:
PaymentProductSpecificInputs
)
=>
Promise
<
PaymentProductsJSON
>
Type declaration
(
context
:
C2SPaymentProductContext
, paymentProductSpecificInputs
?:
PaymentProductSpecificInputs
)
:
Promise
<
PaymentProductsJSON
>
Parameters
context:
C2SPaymentProductContext
Optional
paymentProductSpecificInputs:
PaymentProductSpecificInputs
Returns
Promise
<
PaymentProductsJSON
>
Readonly
get
Customer
Details
get
Customer
Details
:
(
paymentProductId
:
number
, context
:
GetCustomerDetailsRequestJSON
)
=>
Promise
<
GetCustomerDetailsResponseJSON
>
Type declaration
(
paymentProductId
:
number
, context
:
GetCustomerDetailsRequestJSON
)
:
Promise
<
GetCustomerDetailsResponseJSON
>
Parameters
paymentProductId:
number
context:
GetCustomerDetailsRequestJSON
Returns
Promise
<
GetCustomerDetailsResponseJSON
>
Readonly
get
Payment
Product
get
Payment
Product
:
(
paymentProductId
:
number
, context
:
C2SPaymentProductContext
, paymentProductSpecificInputs
?:
PaymentProductSpecificInputs
)
=>
Promise
<
PaymentProductJSON
>
Type declaration
(
paymentProductId
:
number
, context
:
C2SPaymentProductContext
, paymentProductSpecificInputs
?:
PaymentProductSpecificInputs
)
:
Promise
<
PaymentProductJSON
>
Parameters
paymentProductId:
number
context:
C2SPaymentProductContext
Optional
paymentProductSpecificInputs:
PaymentProductSpecificInputs
Returns
Promise
<
PaymentProductJSON
>
Readonly
get
Payment
Product
Directory
get
Payment
Product
Directory
:
(
paymentProductId
:
number
, currencyCode
:
string
, countryCode
:
string
)
=>
Promise
<
DirectoryJSON
>
Type declaration
(
paymentProductId
:
number
, currencyCode
:
string
, countryCode
:
string
)
:
Promise
<
DirectoryJSON
>
Parameters
paymentProductId:
number
currencyCode:
string
countryCode:
string
Returns
Promise
<
DirectoryJSON
>
Readonly
get
Payment
Product
Group
get
Payment
Product
Group
:
(
paymentProductGroupId
:
string
, context
:
C2SPaymentProductContext
)
=>
Promise
<
PaymentProductGroupJSON
>
Type declaration
(
paymentProductGroupId
:
string
, context
:
C2SPaymentProductContext
)
:
Promise
<
PaymentProductGroupJSON
>
Parameters
paymentProductGroupId:
string
context:
C2SPaymentProductContext
Returns
Promise
<
PaymentProductGroupJSON
>
Readonly
get
Payment
Product
IdBy
Credit
Card
Number
get
Payment
Product
IdBy
Credit
Card
Number
:
(
partialCreditCardNumber
:
string
, context
:
C2SPaymentProductContext
)
=>
Promise
<
IinDetailsResponse
>
Type declaration
(
partialCreditCardNumber
:
string
, context
:
C2SPaymentProductContext
)
:
Promise
<
IinDetailsResponse
>
Parameters
partialCreditCardNumber:
string
context:
C2SPaymentProductContext
Returns
Promise
<
IinDetailsResponse
>
Readonly
get
Payment
Product
Networks
get
Payment
Product
Networks
:
(
paymentProductId
:
number
, context
:
C2SPaymentProductContext
)
=>
Promise
<
PaymentProductNetworksResponseJSON
>
Type declaration
(
paymentProductId
:
number
, context
:
C2SPaymentProductContext
)
:
Promise
<
PaymentProductNetworksResponseJSON
>
Parameters
paymentProductId:
number
context:
C2SPaymentProductContext
Returns
Promise
<
PaymentProductNetworksResponseJSON
>
Readonly
get
Public
Key
get
Public
Key
:
(
)
=>
Promise
<
PublicKeyResponse
>
Type declaration
(
)
:
Promise
<
PublicKeyResponse
>
Returns
Promise
<
PublicKeyResponse
>
Readonly
get
Third
Party
Payment
Status
get
Third
Party
Payment
Status
:
(
paymentId
:
string
)
=>
Promise
<
ThirdPartyStatusResponseJSON
>
Type declaration
(
paymentId
:
string
)
:
Promise
<
ThirdPartyStatusResponseJSON
>
Parameters
paymentId:
string
Returns
Promise
<
ThirdPartyStatusResponseJSON
>
Readonly
init
Apple
Pay
Payment
init
Apple
Pay
Payment
:
(
context
:
PaymentDetails
, paymentProductSpecificInput
:
ApplePaySpecificInput
, networks
:
string
[]
)
=>
Promise
<
ApplePayInitResult
>
Type declaration
(
context
:
PaymentDetails
, paymentProductSpecificInput
:
ApplePaySpecificInput
, networks
:
string
[]
)
:
Promise
<
ApplePayInitResult
>
Parameters
context:
PaymentDetails
paymentProductSpecificInput:
ApplePaySpecificInput
networks:
string
[]
Returns
Promise
<
ApplePayInitResult
>
Readonly
transform
Payment
ProductJSON
transform
Payment
ProductJSON
:
<T>
(
json
:
T
)
=>
T
Type declaration
<T>
(
json
:
T
)
:
T
Type parameters
T
:
PaymentProductJSON
|
PaymentProductGroupJSON
Parameters
json:
T
Returns
T
Globals
C2SCommunicator
constructor
convert
Amount
convert
Context
ToIin
Details
Context
create
Payment
Product
Session
get
Basic
Payment
Product
Groups
get
Basic
Payment
Products
get
Customer
Details
get
Payment
Product
get
Payment
Product
Directory
get
Payment
Product
Group
get
Payment
Product
IdBy
Credit
Card
Number
get
Payment
Product
Networks
get
Public
Key
get
Third
Party
Payment
Status
init
Apple
Pay
Payment
transform
Payment
ProductJSON
C2SCommunicator
Configuration
C2SPayment
Product
Context
Iin
Details
Response
Promise
Public
Key
Response