Class AuthorizationCaptureParams


public class AuthorizationCaptureParams extends ApiRequestParams
  • Method Details

    • builder

      public static AuthorizationCaptureParams.Builder builder()
    • getCaptureAmount

      public Long getCaptureAmount()
      The amount to capture from the authorization. If not provided, the full amount of the authorization will be captured. This amount is in the authorization currency and in the smallest currency unit.
    • getCloseAuthorization

      public Boolean getCloseAuthorization()
      Whether to close the authorization after capture. Defaults to true. Set to false to enable multi-capture flows.
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getPurchaseDetails

      public AuthorizationCaptureParams.PurchaseDetails getPurchaseDetails()
      Additional purchase information that is optionally provided by the merchant.