Class PaymentRequest


  • public final class PaymentRequest
    extends java.lang.Object
    • Method Detail

      • getPaymentContextId

        public java.lang.String getPaymentContextId()
      • getAmount

        public java.lang.Long getAmount()
      • getCurrency

        public Currency getCurrency()
      • getMerchantInitiated

        public java.lang.Boolean getMerchantInitiated()
      • getReference

        public java.lang.String getReference()
      • getDescription

        public java.lang.String getDescription()
      • getCapture

        public java.lang.Boolean getCapture()
      • getCaptureOn

        public java.time.Instant getCaptureOn()
      • getProcessingChannelId

        public java.lang.String getProcessingChannelId()
      • getPreviousPaymentId

        public java.lang.String getPreviousPaymentId()
      • getSuccessUrl

        public java.lang.String getSuccessUrl()
      • getFailureUrl

        public java.lang.String getFailureUrl()
      • getPaymentIp

        public java.lang.String getPaymentIp()
      • getMarketplace

        @Deprecated
        public MarketplaceData getMarketplace()
        Deprecated.
        This property will be removed in the future, and should be used amountAllocations instead
      • getAmountAllocations

        public java.util.List<AmountAllocations> getAmountAllocations()
      • getMetadata

        public java.util.Map<java.lang.String,​java.lang.Object> getMetadata()
      • setPaymentContextId

        public void setPaymentContextId​(java.lang.String paymentContextId)
      • setAmount

        public void setAmount​(java.lang.Long amount)
      • setCurrency

        public void setCurrency​(Currency currency)
      • setPaymentType

        public void setPaymentType​(PaymentType paymentType)
      • setPaymentPlan

        public void setPaymentPlan​(PaymentPlan paymentPlan)
      • setMerchantInitiated

        public void setMerchantInitiated​(java.lang.Boolean merchantInitiated)
      • setReference

        public void setReference​(java.lang.String reference)
      • setDescription

        public void setDescription​(java.lang.String description)
      • setAuthentication

        public void setAuthentication​(Authentication authentication)
      • setAuthorizationType

        public void setAuthorizationType​(AuthorizationType authorizationType)
      • setPartialAuthorization

        public void setPartialAuthorization​(PartialAuthorization partialAuthorization)
      • setCapture

        public void setCapture​(java.lang.Boolean capture)
      • setCaptureOn

        public void setCaptureOn​(java.time.Instant captureOn)
      • setBillingDescriptor

        public void setBillingDescriptor​(BillingDescriptor billingDescriptor)
      • setProcessingChannelId

        public void setProcessingChannelId​(java.lang.String processingChannelId)
      • setPreviousPaymentId

        public void setPreviousPaymentId​(java.lang.String previousPaymentId)
      • setSuccessUrl

        public void setSuccessUrl​(java.lang.String successUrl)
      • setFailureUrl

        public void setFailureUrl​(java.lang.String failureUrl)
      • setPaymentIp

        public void setPaymentIp​(java.lang.String paymentIp)
      • setMarketplace

        @Deprecated
        public void setMarketplace​(MarketplaceData marketplace)
        Deprecated.
        This property will be removed in the future, and should be used amountAllocations instead
      • setAmountAllocations

        public void setAmountAllocations​(java.util.List<AmountAllocations> amountAllocations)
      • setItems

        public void setItems​(java.util.List<ProductRequest> items)
      • setMetadata

        public void setMetadata​(java.util.Map<java.lang.String,​java.lang.Object> metadata)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object