Class AuthorizationRequest

java.lang.Object
de.hybris.platform.payment.commands.request.AbstractRequest
de.hybris.platform.payment.commands.request.AuthorizationRequest

public class AuthorizationRequest extends AbstractRequest
  • Constructor Details

    • AuthorizationRequest

      public AuthorizationRequest(String merchantTransactionCode, CardInfo card, Currency currency, BigDecimal totalAmount, BillingInfo shippingInfo)
      An authorized request, where missing data is filled by the payment provider from a previous txn.
      Parameters:
      merchantTransactionCode -
      card -
      currency -
      totalAmount -
      shippingInfo - can be null if subscriptionID is not null
  • Method Details

    • getCard

      public CardInfo getCard()
      Returns:
      the card
    • getCurrency

      public Currency getCurrency()
      Returns:
      the currency
    • getTotalAmount

      public BigDecimal getTotalAmount()
      Returns:
      the totalAmount
    • getShippingInfo

      public BillingInfo getShippingInfo()
      Returns:
      the shippingInfo