Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Silviana Ghita committed Feb 1, 2024
1 parent ca142f2 commit d9d56bc
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import com.google.gson.annotations.SerializedName;
import com.mangopay.core.EntityBase;

import java.util.List;

public class PaymentMethodMetadata extends EntityBase {

/**
Expand Down Expand Up @@ -59,7 +61,7 @@ public class PaymentMethodMetadata extends EntityBase {
* Additional data about the card based on the BIN. In the case of co-branded card products, two objects are returned.
*/
@SerializedName("BinData")
private BinData[] binData;
private List<BinData> binData;

public String getType() {
return type;
Expand Down Expand Up @@ -125,11 +127,11 @@ public void setCommercialIndicator(String commercialIndicator) {
this.commercialIndicator = commercialIndicator;
}

public BinData[] getBinData() {
public List<BinData> getBinData() {
return binData;
}

public void setBinData(BinData[] binData) {
public void setBinData(List<BinData> binData) {
this.binData = binData;
}
}

0 comments on commit d9d56bc

Please sign in to comment.