Class CapturePaymentRequest

java.lang.Object
com.onlinepayments.domain.CapturePaymentRequest

public class CapturePaymentRequest extends Object
  • Constructor Details

    • CapturePaymentRequest

      public CapturePaymentRequest()
  • Method Details

    • getAmount

      public Long getAmount()
      Here you can specify the amount that you want to capture (specified in cents, where single digit currencies are presumed to have 2 digits). The amount can be lower than the amount that was authorized, but not higher. If left empty, the full amount will be captured and the request will be final. If the full amount is captured, the request will also be final.
    • setAmount

      public void setAmount(Long value)
      Here you can specify the amount that you want to capture (specified in cents, where single digit currencies are presumed to have 2 digits). The amount can be lower than the amount that was authorized, but not higher. If left empty, the full amount will be captured and the request will be final. If the full amount is captured, the request will also be final.
    • withAmount

      public CapturePaymentRequest withAmount(Long value)
      Here you can specify the amount that you want to capture (specified in cents, where single digit currencies are presumed to have 2 digits). The amount can be lower than the amount that was authorized, but not higher. If left empty, the full amount will be captured and the request will be final. If the full amount is captured, the request will also be final.
    • getIsFinal

      public Boolean getIsFinal()
      This property indicates whether this will be the final operation. The default value for this property is false.
    • setIsFinal

      public void setIsFinal(Boolean value)
      This property indicates whether this will be the final operation. The default value for this property is false.
    • withIsFinal

      public CapturePaymentRequest withIsFinal(Boolean value)
      This property indicates whether this will be the final operation. The default value for this property is false.
    • getOperationReferences

      public OperationPaymentReferences getOperationReferences()
      Object that holds all reference properties that are linked to this transaction
    • setOperationReferences

      public void setOperationReferences(OperationPaymentReferences value)
      Object that holds all reference properties that are linked to this transaction
    • withOperationReferences

      public CapturePaymentRequest withOperationReferences(OperationPaymentReferences value)
      Object that holds all reference properties that are linked to this transaction
    • getReferences

      public PaymentReferences getReferences()
      Object that holds all reference properties that are linked to this transaction. Deprecated for capture/refund: Use operationReferences instead.
    • setReferences

      public void setReferences(PaymentReferences value)
      Object that holds all reference properties that are linked to this transaction. Deprecated for capture/refund: Use operationReferences instead.
    • withReferences

      public CapturePaymentRequest withReferences(PaymentReferences value)
      Object that holds all reference properties that are linked to this transaction. Deprecated for capture/refund: Use operationReferences instead.