Skip to content

Commit

Permalink
Merge pull request #195 from gocardless/template-changes
Browse files Browse the repository at this point in the history
Template changes
  • Loading branch information
prolific117 authored Sep 24, 2024
2 parents 464be50 + f093f5f commit 621557e
Show file tree
Hide file tree
Showing 6 changed files with 207 additions and 82 deletions.
154 changes: 77 additions & 77 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gocardless-nodejs",
"version": "3.28.0",
"version": "4.0.0",
"description": "Node.js client for the GoCardless API - a powerful, simple solution for the collection of recurring bank-to-bank payments",
"author": "GoCardless Ltd <[email protected]>",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ enum Environments {
Sandbox = 'SANDBOX',
}

const CLIENT_VERSION = '3.28.0';
const CLIENT_VERSION = '4.0.0';
const API_VERSION = '2015-07-06';

export { Environments, CLIENT_VERSION, API_VERSION };
3 changes: 3 additions & 0 deletions src/services/billingRequestService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ interface BillingRequestCreateRequest {
// and `other` are supported.

purpose_code?: Types.BillingRequestPurposeCode;

//
subscription_request?: Types.BillingRequestSubscriptionRequest;
}

interface BillingRequestCollectCustomerDetailsRequest {
Expand Down
4 changes: 2 additions & 2 deletions src/services/billingRequestTemplateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ interface BillingRequestTemplateCreateRequest {

name?: string;

// Amount in minor unit (e.g. pence in GBP, cents in EUR).
// Amount in full.

payment_request_amount?: string;

Expand Down Expand Up @@ -191,7 +191,7 @@ interface BillingRequestTemplateUpdateRequest {

name?: string;

// Amount in minor unit (e.g. pence in GBP, cents in EUR).
// Amount in full.

payment_request_amount?: string;

Expand Down
Loading

0 comments on commit 621557e

Please sign in to comment.