Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit d5fc4cc

Browse files
author
Jenkins
committed
Release 3.1.0.
1 parent 6b9ceb2 commit d5fc4cc

File tree

5 files changed

+74
-2
lines changed

5 files changed

+74
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "connect-sdk-nodejs",
3-
"version": "3.0.0",
3+
"version": "3.1.0",
44
"description": "SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API",
55
"dependencies": {
66
"dateformat": "^1.0.12",

schemas/hostedcheckout/CreateHostedCheckoutRequest.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
"level3SummaryData" : {
4848
"$ref" : "#/definitions/Level3SummaryData"
4949
},
50+
"loanRecipient" : {
51+
"$ref" : "#/definitions/LoanRecipient"
52+
},
5053
"numberOfInstallments" : {
5154
"type" : "integer",
5255
"maximum" : 9223372036854775807
@@ -914,6 +917,27 @@
914917
},
915918
"additionalProperties" : false
916919
},
920+
"LoanRecipient" : {
921+
"type" : "object",
922+
"properties" : {
923+
"accountNumber" : {
924+
"type" : "string"
925+
},
926+
"dateOfBirth" : {
927+
"type" : "string"
928+
},
929+
"partialPan" : {
930+
"type" : "string"
931+
},
932+
"surname" : {
933+
"type" : "string"
934+
},
935+
"zip" : {
936+
"type" : "string"
937+
}
938+
},
939+
"additionalProperties" : false
940+
},
917941
"MandateAddress" : {
918942
"type" : "object",
919943
"properties" : {

schemas/payment/CompletePaymentRequest.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
"level3SummaryData" : {
2424
"$ref" : "#/definitions/Level3SummaryData"
2525
},
26+
"loanRecipient" : {
27+
"$ref" : "#/definitions/LoanRecipient"
28+
},
2629
"numberOfInstallments" : {
2730
"type" : "integer",
2831
"maximum" : 9223372036854775807
@@ -647,6 +650,27 @@
647650
},
648651
"additionalProperties" : false
649652
},
653+
"LoanRecipient" : {
654+
"type" : "object",
655+
"properties" : {
656+
"accountNumber" : {
657+
"type" : "string"
658+
},
659+
"dateOfBirth" : {
660+
"type" : "string"
661+
},
662+
"partialPan" : {
663+
"type" : "string"
664+
},
665+
"surname" : {
666+
"type" : "string"
667+
},
668+
"zip" : {
669+
"type" : "string"
670+
}
671+
},
672+
"additionalProperties" : false
673+
},
650674
"Merchant" : {
651675
"type" : "object",
652676
"properties" : {

schemas/payment/CreatePaymentRequest.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
"level3SummaryData" : {
5454
"$ref" : "#/definitions/Level3SummaryData"
5555
},
56+
"loanRecipient" : {
57+
"$ref" : "#/definitions/LoanRecipient"
58+
},
5659
"numberOfInstallments" : {
5760
"type" : "integer",
5861
"maximum" : 9223372036854775807
@@ -1124,6 +1127,27 @@
11241127
},
11251128
"additionalProperties" : false
11261129
},
1130+
"LoanRecipient" : {
1131+
"type" : "object",
1132+
"properties" : {
1133+
"accountNumber" : {
1134+
"type" : "string"
1135+
},
1136+
"dateOfBirth" : {
1137+
"type" : "string"
1138+
},
1139+
"partialPan" : {
1140+
"type" : "string"
1141+
},
1142+
"surname" : {
1143+
"type" : "string"
1144+
},
1145+
"zip" : {
1146+
"type" : "string"
1147+
}
1148+
},
1149+
"additionalProperties" : false
1150+
},
11271151
"MandateAddress" : {
11281152
"type" : "object",
11291153
"properties" : {

utils/headers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var serverMetaInfo = function (sdkContext) {
99
key: "X-GCS-ServerMetaInfo",
1010
value: {
1111
'sdkCreator': 'Ingenico',
12-
'sdkIdentifier': 'NodejsServerSDK/v3.0.0',
12+
'sdkIdentifier': 'NodejsServerSDK/v3.1.0',
1313
'platformIdentifier': process.env['OS'] + ' Node.js/' + process.versions.node
1414
}
1515
};

0 commit comments

Comments
 (0)