Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/com/stripe/model/Invoice.java
Original file line number Diff line number Diff line change
Expand Up @@ -1259,8 +1259,8 @@ public static class CustomField extends StripeObject {
@EqualsAndHashCode(callSuper = false)
public static class CustomerTaxId extends StripeObject {
/**
* The type of the tax ID, one of `au_abn`, `ca_bn`, `ch_vat`, `eu_vat`, `hk_br`, `in_gst`,
* `mx_rfc`, `no_vat`, `nz_gst`, `ru_inn`, `sg_uen`, `unknown`, or `za_vat`.
* The type of the tax ID, one of `au_abn`, `ca_bn`, `ch_vat`, `es_cif`, `eu_vat`, `hk_br`,
* `in_gst`, `mx_rfc`, `no_vat`, `nz_gst`, `ru_inn`, `sg_uen`, `unknown`, or `za_vat`.
*/
@SerializedName("type")
String type;
Expand Down
18 changes: 13 additions & 5 deletions src/main/java/com/stripe/model/SourceTransaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,30 +131,38 @@ public static class ChfCreditTransferData extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class GbpCreditTransferData extends StripeObject {
/** Bank account fingerprint associated with the transfer. */
/**
* Bank account fingerprint associated with the Stripe owned bank account receiving the
* transfer.
*/
@SerializedName("fingerprint")
String fingerprint;

/**
* The credit transfer rails the sender used to push money. The three rails are: Faster
* Payments, BACS, and CHAPS.
* The credit transfer rails the sender used to push this transfer. The possible rails are:
* Faster Payments, BACS, CHAPS, and wire transfers. Currently only Faster Payments is
* supported.
*/
@SerializedName("funding_method")
String fundingMethod;

/** Last 4 digits of account number associated with the transfer. */
/** Last 4 digits of sender account number associated with the transfer. */
@SerializedName("last4")
String last4;

/** Sender entered arbitrary information about the transfer. */
@SerializedName("reference")
String reference;

/** Sender account number associated with the transfer. */
@SerializedName("sender_account_number")
String senderAccountNumber;

/** Sender name associated with the transfer. */
@SerializedName("sender_name")
String senderName;

/** Sort code associated with the transfer. */
/** Sender sort code associated with the transfer. */
@SerializedName("sort_code")
String sortCode;
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/stripe/model/TaxId.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public class TaxId extends ApiResource implements HasId {
String object;

/**
* Type of the tax ID, one of `au_abn`, `ca_bn`, `ch_vat`, `eu_vat`, `hk_br`, `in_gst`, `mx_rfc`,
* `no_vat`, `nz_gst`, `ru_inn`, `sg_uen`, `za_vat`, or `unknown`.
* Type of the tax ID, one of `au_abn`, `ca_bn`, `ch_vat`, `es_cif`, `eu_vat`, `hk_br`, `in_gst`,
* `mx_rfc`, `no_vat`, `nz_gst`, `ru_inn`, `sg_uen`, `za_vat`, or `unknown`.
*/
@SerializedName("type")
String type;
Expand Down
11 changes: 7 additions & 4 deletions src/main/java/com/stripe/param/CustomerCreateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -1089,8 +1089,8 @@ public static class TaxIdData {
Map<String, Object> extraParams;

/**
* Type of the tax ID, one of `au_abn`, `ca_bn`, `ch_vat`, `eu_vat`, `hk_br`, `in_gst`,
* `mx_rfc`, `no_vat`, `nz_gst`, `ru_inn`, `sg_uen`, or `za_vat`.
* Type of the tax ID, one of `au_abn`, `ca_bn`, `ch_vat`, `es_cif`, `eu_vat`, `hk_br`,
* `in_gst`, `mx_rfc`, `no_vat`, `nz_gst`, `ru_inn`, `sg_uen`, or `za_vat`.
*/
@SerializedName("type")
Type type;
Expand Down Expand Up @@ -1148,8 +1148,8 @@ public Builder putAllExtraParam(Map<String, Object> map) {
}

/**
* Type of the tax ID, one of `au_abn`, `ca_bn`, `ch_vat`, `eu_vat`, `hk_br`, `in_gst`,
* `mx_rfc`, `no_vat`, `nz_gst`, `ru_inn`, `sg_uen`, or `za_vat`.
* Type of the tax ID, one of `au_abn`, `ca_bn`, `ch_vat`, `es_cif`, `eu_vat`, `hk_br`,
* `in_gst`, `mx_rfc`, `no_vat`, `nz_gst`, `ru_inn`, `sg_uen`, or `za_vat`.
*/
public Builder setType(Type type) {
this.type = type;
Expand All @@ -1173,6 +1173,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ch_vat")
CH_VAT("ch_vat"),

@SerializedName("es_cif")
ES_CIF("es_cif"),

@SerializedName("eu_vat")
EU_VAT("eu_vat"),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public class TaxIdCollectionCreateParams extends ApiRequestParams {
Map<String, Object> extraParams;

/**
* Type of the tax ID, one of `au_abn`, `ca_bn`, `ch_vat`, `eu_vat`, `hk_br`, `in_gst`, `mx_rfc`,
* `no_vat`, `nz_gst`, `ru_inn`, `sg_uen`, or `za_vat`.
* Type of the tax ID, one of `au_abn`, `ca_bn`, `ch_vat`, `es_cif`, `eu_vat`, `hk_br`, `in_gst`,
* `mx_rfc`, `no_vat`, `nz_gst`, `ru_inn`, `sg_uen`, or `za_vat`.
*/
@SerializedName("type")
Type type;
Expand Down Expand Up @@ -113,8 +113,8 @@ public Builder putAllExtraParam(Map<String, Object> map) {
}

/**
* Type of the tax ID, one of `au_abn`, `ca_bn`, `ch_vat`, `eu_vat`, `hk_br`, `in_gst`,
* `mx_rfc`, `no_vat`, `nz_gst`, `ru_inn`, `sg_uen`, or `za_vat`.
* Type of the tax ID, one of `au_abn`, `ca_bn`, `ch_vat`, `es_cif`, `eu_vat`, `hk_br`,
* `in_gst`, `mx_rfc`, `no_vat`, `nz_gst`, `ru_inn`, `sg_uen`, or `za_vat`.
*/
public Builder setType(Type type) {
this.type = type;
Expand All @@ -138,6 +138,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ch_vat")
CH_VAT("ch_vat"),

@SerializedName("es_cif")
ES_CIF("es_cif"),

@SerializedName("eu_vat")
EU_VAT("eu_vat"),

Expand Down