diff --git a/pokepaylib/src/main/java/jp/pokepay/pokepaylib/BankAPI/autogen/requests/TopupWithCreditCardMdkToken.java b/pokepaylib/src/main/java/jp/pokepay/pokepaylib/BankAPI/autogen/requests/TopupWithCreditCardMdkToken.java index 208571b..6839a96 100644 --- a/pokepaylib/src/main/java/jp/pokepay/pokepaylib/BankAPI/autogen/requests/TopupWithCreditCardMdkToken.java +++ b/pokepaylib/src/main/java/jp/pokepay/pokepaylib/BankAPI/autogen/requests/TopupWithCreditCardMdkToken.java @@ -16,8 +16,9 @@ public class TopupWithCreditCardMdkToken extends BankRequest { private Integer amount; private String organizationCode; private Boolean isCardholderNameSpecified; + private String requestId; - public TopupWithCreditCardMdkToken(String userId, String token, String accountId, int amount, String organizationCode) { + public TopupWithCreditCardMdkToken(String userId, String token, String accountId, Integer amount, String organizationCode) { this.userId = userId; this.token = token; this.accountId = accountId; @@ -30,6 +31,11 @@ public TopupWithCreditCardMdkToken isCardholderNameSpecified(Boolean cardholderN return this; } + public TopupWithCreditCardMdkToken requestId(String requestId) { + this.requestId = requestId; + return this; + } + @Override protected final Request.Method method() { return Request.Method.POST; @@ -61,6 +67,9 @@ protected final Map parameters() { if (isCardholderNameSpecified != null) { put("is_cardholder_name_specified", isCardholderNameSpecified); } + if (requestId != null) { + put("request_id", requestId); + } }}; } diff --git a/pokepaylib/src/main/java/jp/pokepay/pokepaylib/BankAPI/autogen/requests/TopupWithCreditCardMembership.java b/pokepaylib/src/main/java/jp/pokepay/pokepaylib/BankAPI/autogen/requests/TopupWithCreditCardMembership.java index 44042a5..8de7562 100644 --- a/pokepaylib/src/main/java/jp/pokepay/pokepaylib/BankAPI/autogen/requests/TopupWithCreditCardMembership.java +++ b/pokepaylib/src/main/java/jp/pokepay/pokepaylib/BankAPI/autogen/requests/TopupWithCreditCardMembership.java @@ -16,8 +16,9 @@ public class TopupWithCreditCardMembership extends BankRequest { private Integer amount; private Boolean deleteCardIfAuthFail; private String organizationCode; + private String requestId; - public TopupWithCreditCardMembership(String userId, String cardRegisteredAt, String accountId, int amount, String organizationCode) { + public TopupWithCreditCardMembership(String userId, String cardRegisteredAt, String accountId, Integer amount, String organizationCode) { this.userId = userId; this.cardRegisteredAt = cardRegisteredAt; this.accountId = accountId; @@ -30,6 +31,11 @@ public TopupWithCreditCardMembership deleteCardIfAuthFail(Boolean deleteCardIfAu return this; } + public TopupWithCreditCardMembership requestId(String requestId) { + this.requestId = requestId; + return this; + } + @Override protected final Request.Method method() { return Request.Method.POST; @@ -61,6 +67,9 @@ protected final Map parameters() { if (organizationCode != null) { put("organization_code", organizationCode); } + if (requestId != null) { + put("request_id", requestId); + } }}; }