From d97f3bdc429dc1e17de92d34d83bbcacb50693bf Mon Sep 17 00:00:00 2001 From: orlovD Date: Wed, 23 Feb 2022 14:22:57 +0200 Subject: [PATCH] add mode prop --- .../spreedly/model/internal/SpreedlyGatewayAccountUpdate.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/cc/protea/spreedly/model/internal/SpreedlyGatewayAccountUpdate.java b/src/main/java/cc/protea/spreedly/model/internal/SpreedlyGatewayAccountUpdate.java index 4226e8c..8327d8c 100644 --- a/src/main/java/cc/protea/spreedly/model/internal/SpreedlyGatewayAccountUpdate.java +++ b/src/main/java/cc/protea/spreedly/model/internal/SpreedlyGatewayAccountUpdate.java @@ -17,6 +17,7 @@ public class SpreedlyGatewayAccountUpdate { DocumentBuilder documentBuilder; + public String mode; public SpreedlyGatewayAccountUpdate() { try { @@ -28,6 +29,7 @@ public SpreedlyGatewayAccountUpdate() { public SpreedlyGatewayAccountUpdate(final SpreedlyGatewayAccount in) { this.gatewayType = in.gatewayType; + this.mode = in.getMode(); for (SpreedlyGatewayCredential credential : in.credentials) { SpreedlyInternalKeyValuePair pair = new SpreedlyInternalKeyValuePair(); pair.key = credential.name;