Package model
Class UpdateAuthorizationRequest
java.lang.Object
model.UpdateAuthorizationRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class UpdateAuthorizationRequest
extends Object
UpdateAuthorizationRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalPurchaseData(AdditionalPurchaseData additionalPurchaseData) captureAmount(Long captureAmount) booleanstatic UpdateAuthorizationRequestCreate an instance of UpdateAuthorizationRequest given an JSON stringGet additionalPurchaseDataThe amount of the `Authorization` you would like to capture in cents.getFee()The amount of the `Authorization` you'd like to collect as your fee in cents.getTags()Key value pair for annotating custom meta data (e.g.Set to True to void the AuthorizationinthashCode()putTagsItem(String key, String tagsItem) voidsetAdditionalPurchaseData(AdditionalPurchaseData additionalPurchaseData) voidsetCaptureAmount(Long captureAmount) voidvoidvoidtoJson()Convert an instance of UpdateAuthorizationRequest to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_FEE
- See Also:
-
SERIALIZED_NAME_CAPTURE_AMOUNT
- See Also:
-
SERIALIZED_NAME_ADDITIONAL_PURCHASE_DATA
- See Also:
-
SERIALIZED_NAME_VOID_ME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateAuthorizationRequest
public UpdateAuthorizationRequest()
-
-
Method Details
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
fee
-
getFee
The amount of the `Authorization` you'd like to collect as your fee in cents. Defaults to zero (must be less than or equal to the `amount`).- Returns:
- fee
-
setFee
-
captureAmount
-
getCaptureAmount
The amount of the `Authorization` you would like to capture in cents. Must be less than or equal to the `amount` of the `Authorization`.- Returns:
- captureAmount
-
setCaptureAmount
-
additionalPurchaseData
public UpdateAuthorizationRequest additionalPurchaseData(AdditionalPurchaseData additionalPurchaseData) -
getAdditionalPurchaseData
Get additionalPurchaseData- Returns:
- additionalPurchaseData
-
setAdditionalPurchaseData
-
voidMe
-
getVoidMe
Set to True to void the Authorization- Returns:
- voidMe
-
setVoidMe
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to UpdateAuthorizationRequest
-
fromJson
Create an instance of UpdateAuthorizationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateAuthorizationRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateAuthorizationRequest
-
toJson
Convert an instance of UpdateAuthorizationRequest to an JSON string- Returns:
- JSON string
-