-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Card Metadata response (#444)
- Loading branch information
1 parent
6b0d3c8
commit d63bf60
Showing
7 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/java/com/checkout/metadata/card/AccountFundingTransaction.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.checkout.metadata.card; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
|
||
@Data | ||
public final class AccountFundingTransaction { | ||
|
||
@SerializedName("aft_indicator") | ||
private AftIndicator aftIndicator; | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/com/checkout/metadata/card/AftIndicator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.checkout.metadata.card; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
|
||
@Data | ||
public final class AftIndicator { | ||
|
||
@SerializedName("pull_funds") | ||
private PullFunds pullFunds; | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/com/checkout/metadata/card/CardMetadataPayouts.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
package com.checkout.metadata.card; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
|
||
@Data | ||
public final class CardMetadataPayouts { | ||
|
||
@SerializedName("domestic_non_money_transfer") | ||
private PayoutsTransactionsType domesticNonMoneyTransfer; | ||
|
||
@SerializedName("cross_border_non_money_transfer") | ||
private PayoutsTransactionsType crossBorderNonMoneyTransfer; | ||
|
||
@SerializedName("domestic_gambling") | ||
private PayoutsTransactionsType domesticGambling; | ||
|
||
@SerializedName("cross_border_gambling") | ||
private PayoutsTransactionsType crossBorderGambling; | ||
|
||
@SerializedName("domestic_money_transfer") | ||
private PayoutsTransactionsType domesticMoneyTransfer; | ||
|
||
@SerializedName("cross_border_money_transfer") | ||
private PayoutsTransactionsType crossBorderMoneyTransfer; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.checkout.metadata.card; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
|
||
@Data | ||
public final class PullFunds { | ||
|
||
@SerializedName("cross_border") | ||
private Boolean crossBorder; | ||
|
||
private Boolean domestic; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters