-
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.
Properties update for Metadata, Purpose and Profile (#400)
* Update card metadata response properties * Update purpose types * Update profile class with holding currencies
- Loading branch information
1 parent
6d90cf2
commit a5d1cea
Showing
6 changed files
with
93 additions
and
1 deletion.
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
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
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
34 changes: 34 additions & 0 deletions
34
src/main/java/com/checkout/metadata/card/PinlessDebitSchemeMetadata.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,34 @@ | ||
package com.checkout.metadata.card; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public final class PinlessDebitSchemeMetadata { | ||
|
||
@SerializedName("network_id") | ||
private String networkId; | ||
|
||
@SerializedName("network_description") | ||
private String networkDescription; | ||
|
||
@SerializedName("bill_pay_indicator") | ||
private Boolean billPayIndicator; | ||
|
||
@SerializedName("ecommerce_indicator") | ||
private Boolean ecommerceIndicator; | ||
|
||
@SerializedName("interchange_fee_indicator") | ||
private String InterchangeFeeIndicator; | ||
|
||
@SerializedName("money_transfer_indicator") | ||
private Boolean moneyTransferIndicator; | ||
|
||
@SerializedName("token_indicator") | ||
private Boolean tokenIndicator; | ||
|
||
} |
20 changes: 20 additions & 0 deletions
20
src/main/java/com/checkout/metadata/card/SchemeMetadata.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,20 @@ | ||
package com.checkout.metadata.card; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public final class SchemeMetadata { | ||
|
||
private PinlessDebitSchemeMetadata accel; | ||
|
||
private PinlessDebitSchemeMetadata pulse; | ||
|
||
private PinlessDebitSchemeMetadata nyce; | ||
|
||
private PinlessDebitSchemeMetadata star; | ||
|
||
} |