Class CardProgram.Builder
-
- All Implemented Interfaces:
public final class CardProgram.BuilderA builder for CardProgram.
-
-
Method Summary
Modifier and Type Method Description final CardProgram.Buildertoken(String token)Globally unique identifier. final CardProgram.Buildertoken(JsonField<String> token)Sets Builder.token to an arbitrary JSON value. final CardProgram.Buildercreated(OffsetDateTime created)Timestamp of when the card program was created. final CardProgram.Buildercreated(JsonField<OffsetDateTime> created)Sets Builder.created to an arbitrary JSON value. final CardProgram.Buildername(String name)The name of the card program. final CardProgram.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final CardProgram.BuilderpanRangeEnd(String panRangeEnd)The first digits of the card number that this card program ends with. final CardProgram.BuilderpanRangeEnd(JsonField<String> panRangeEnd)Sets Builder.panRangeEnd to an arbitrary JSON value. final CardProgram.BuilderpanRangeStart(String panRangeStart)The first digits of the card number that this card program starts with. final CardProgram.BuilderpanRangeStart(JsonField<String> panRangeStart)Sets Builder.panRangeStart to an arbitrary JSON value. final CardProgram.BuilderaccountLevelManagementEnabled(Boolean accountLevelManagementEnabled)Whether the card program is participating in Account Level Management. final CardProgram.BuilderaccountLevelManagementEnabled(JsonField<Boolean> accountLevelManagementEnabled)Sets Builder.accountLevelManagementEnabled to an arbitrary JSON value. final CardProgram.BuildercardholderCurrency(String cardholderCurrency)3-character alphabetic ISO 4217 code for the currency of the cardholder. final CardProgram.BuildercardholderCurrency(JsonField<String> cardholderCurrency)Sets Builder.cardholderCurrency to an arbitrary JSON value. final CardProgram.BuildersettlementCurrencies(List<String> settlementCurrencies)List of 3-character alphabetic ISO 4217 codes for the currencies that the card program supports for settlement. final CardProgram.BuildersettlementCurrencies(JsonField<List<String>> settlementCurrencies)Sets Builder.settlementCurrencies to an arbitrary JSON value. final CardProgram.BuilderaddSettlementCurrency(String settlementCurrency)Adds a single String to settlementCurrencies. final CardProgram.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final CardProgram.BuilderputAdditionalProperty(String key, JsonValue value)final CardProgram.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final CardProgram.BuilderremoveAdditionalProperty(String key)final CardProgram.BuilderremoveAllAdditionalProperties(Set<String> keys)final CardProgrambuild()Returns an immutable instance of CardProgram. -
-
Method Detail
-
token
final CardProgram.Builder token(String token)
Globally unique identifier.
-
token
final CardProgram.Builder token(JsonField<String> token)
Sets Builder.token to an arbitrary JSON value.
You should usually call Builder.token with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final CardProgram.Builder created(OffsetDateTime created)
Timestamp of when the card program was created.
-
created
final CardProgram.Builder created(JsonField<OffsetDateTime> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final CardProgram.Builder name(String name)
The name of the card program.
-
name
final CardProgram.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
panRangeEnd
final CardProgram.Builder panRangeEnd(String panRangeEnd)
The first digits of the card number that this card program ends with.
-
panRangeEnd
final CardProgram.Builder panRangeEnd(JsonField<String> panRangeEnd)
Sets Builder.panRangeEnd to an arbitrary JSON value.
You should usually call Builder.panRangeEnd with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
panRangeStart
final CardProgram.Builder panRangeStart(String panRangeStart)
The first digits of the card number that this card program starts with.
-
panRangeStart
final CardProgram.Builder panRangeStart(JsonField<String> panRangeStart)
Sets Builder.panRangeStart to an arbitrary JSON value.
You should usually call Builder.panRangeStart with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
accountLevelManagementEnabled
final CardProgram.Builder accountLevelManagementEnabled(Boolean accountLevelManagementEnabled)
Whether the card program is participating in Account Level Management. Currently applicable to Visa card programs only.
-
accountLevelManagementEnabled
final CardProgram.Builder accountLevelManagementEnabled(JsonField<Boolean> accountLevelManagementEnabled)
Sets Builder.accountLevelManagementEnabled to an arbitrary JSON value.
You should usually call Builder.accountLevelManagementEnabled with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
cardholderCurrency
final CardProgram.Builder cardholderCurrency(String cardholderCurrency)
3-character alphabetic ISO 4217 code for the currency of the cardholder.
-
cardholderCurrency
final CardProgram.Builder cardholderCurrency(JsonField<String> cardholderCurrency)
Sets Builder.cardholderCurrency to an arbitrary JSON value.
You should usually call Builder.cardholderCurrency with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
settlementCurrencies
final CardProgram.Builder settlementCurrencies(List<String> settlementCurrencies)
List of 3-character alphabetic ISO 4217 codes for the currencies that the card program supports for settlement.
-
settlementCurrencies
final CardProgram.Builder settlementCurrencies(JsonField<List<String>> settlementCurrencies)
Sets Builder.settlementCurrencies to an arbitrary JSON value.
You should usually call Builder.settlementCurrencies with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addSettlementCurrency
final CardProgram.Builder addSettlementCurrency(String settlementCurrency)
Adds a single String to settlementCurrencies.
-
additionalProperties
final CardProgram.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CardProgram.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CardProgram.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CardProgram.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CardProgram.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CardProgram build()
Returns an immutable instance of CardProgram.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.token() .created() .name() .panRangeEnd() .panRangeStart()
-
-
-
-