@blockchyp/blockchyp-ts 2.18.6 → 2.18.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockchyp/blockchyp-ts",
3
- "version": "2.18.6",
3
+ "version": "2.18.7",
4
4
  "description": "BlockChyp Typescript Client",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
package/src/models.ts CHANGED
@@ -2359,6 +2359,12 @@ export class AuthorizationRequest {
2359
2359
  */
2360
2360
  asyncReversals?: boolean;
2361
2361
 
2362
+ /**
2363
+ * A passthrough surcharge amount. This surcharge amount will be passed directly to the
2364
+ * gateway and is not directly calculated.
2365
+ */
2366
+ passthroughSurcharge?: string;
2367
+
2362
2368
  // Constructor with default values for optional fields
2363
2369
  constructor(
2364
2370
  timeout: number | null = null,
@@ -2428,6 +2434,7 @@ export class AuthorizationRequest {
2428
2434
  simulateChipRejection: boolean = false,
2429
2435
  simulateOutOfOrderReversal: boolean = false,
2430
2436
  asyncReversals: boolean = false,
2437
+ passthroughSurcharge: string | undefined = undefined,
2431
2438
  ) {
2432
2439
  this.timeout = timeout;
2433
2440
  this.test = test;
@@ -2496,6 +2503,7 @@ export class AuthorizationRequest {
2496
2503
  this.simulateChipRejection = simulateChipRejection;
2497
2504
  this.simulateOutOfOrderReversal = simulateOutOfOrderReversal;
2498
2505
  this.asyncReversals = asyncReversals;
2506
+ this.passthroughSurcharge = passthroughSurcharge;
2499
2507
  }
2500
2508
  }
2501
2509