Class TransactionSimulateAuthorizationAdviceParams.Body.Builder
-
- All Implemented Interfaces:
public final class TransactionSimulateAuthorizationAdviceParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
token
final TransactionSimulateAuthorizationAdviceParams.Body.Builder token(String token)
The transaction token returned from the /v1/simulate/authorize. response.
-
token
final TransactionSimulateAuthorizationAdviceParams.Body.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.
-
amount
final TransactionSimulateAuthorizationAdviceParams.Body.Builder amount(Long amount)
Amount (in cents) to authorize. This amount will override the transaction's amount that was originally set by /v1/simulate/authorize.
-
amount
final TransactionSimulateAuthorizationAdviceParams.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.
-
additionalProperties
final TransactionSimulateAuthorizationAdviceParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TransactionSimulateAuthorizationAdviceParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TransactionSimulateAuthorizationAdviceParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TransactionSimulateAuthorizationAdviceParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TransactionSimulateAuthorizationAdviceParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TransactionSimulateAuthorizationAdviceParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.token() .amount()
-
-
-
-