Class TransactionSimulateCreditAuthorizationParams.Body.Builder
-
- All Implemented Interfaces:
public final class TransactionSimulateCreditAuthorizationParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
amount
final TransactionSimulateCreditAuthorizationParams.Body.Builder amount(Long amount)
Amount (in cents). Any value entered will be converted into a negative amount in the simulated transaction. For example, entering 100 in this field will appear as a -100 amount in the transaction.
-
amount
final TransactionSimulateCreditAuthorizationParams.Body.Builder amount(JsonField<Long> amount)
Sets Builder.amount to an arbitrary JSON value.
You should usually call Builder.amount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
descriptor
final TransactionSimulateCreditAuthorizationParams.Body.Builder descriptor(String descriptor)
Merchant descriptor.
-
descriptor
final TransactionSimulateCreditAuthorizationParams.Body.Builder descriptor(JsonField<String> descriptor)
Sets Builder.descriptor to an arbitrary JSON value.
You should usually call Builder.descriptor with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pan
final TransactionSimulateCreditAuthorizationParams.Body.Builder pan(String pan)
Sixteen digit card number.
-
pan
final TransactionSimulateCreditAuthorizationParams.Body.Builder pan(JsonField<String> pan)
Sets Builder.pan to an arbitrary JSON value.
You should usually call Builder.pan with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mcc
final TransactionSimulateCreditAuthorizationParams.Body.Builder mcc(String mcc)
Merchant category code for the transaction to be simulated. A four-digit number listed in ISO 18245. Supported merchant category codes can be found here.
-
mcc
final TransactionSimulateCreditAuthorizationParams.Body.Builder mcc(JsonField<String> mcc)
Sets Builder.mcc to an arbitrary JSON value.
You should usually call Builder.mcc with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
merchantAcceptorId
final TransactionSimulateCreditAuthorizationParams.Body.Builder merchantAcceptorId(String merchantAcceptorId)
Unique identifier to identify the payment card acceptor.
-
merchantAcceptorId
final TransactionSimulateCreditAuthorizationParams.Body.Builder merchantAcceptorId(JsonField<String> merchantAcceptorId)
Sets Builder.merchantAcceptorId to an arbitrary JSON value.
You should usually call Builder.merchantAcceptorId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final TransactionSimulateCreditAuthorizationParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TransactionSimulateCreditAuthorizationParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TransactionSimulateCreditAuthorizationParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TransactionSimulateCreditAuthorizationParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TransactionSimulateCreditAuthorizationParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TransactionSimulateCreditAuthorizationParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.amount() .descriptor() .pan()
-
-
-
-