Class RentalTransactionEvent


  • public class RentalTransactionEvent
    extends java.lang.Object
    An event related to a rental transaction.
    • Constructor Detail

      • RentalTransactionEvent

        public RentalTransactionEvent()
    • Method Detail

      • getAmazonOrderId

        public java.lang.String getAmazonOrderId()
        An Amazon-defined identifier for an order.
        Returns:
        amazonOrderId
      • setAmazonOrderId

        public void setAmazonOrderId​(java.lang.String amazonOrderId)
      • getRentalEventType

        public java.lang.String getRentalEventType()
        The type of rental event. Possible values: * RentalCustomerPayment-Buyout - Transaction type that represents when the customer wants to buy out a rented item. * RentalCustomerPayment-Extension - Transaction type that represents when the customer wants to extend the rental period. * RentalCustomerRefund-Buyout - Transaction type that represents when the customer requests a refund for the buyout of the rented item. * RentalCustomerRefund-Extension - Transaction type that represents when the customer requests a refund over the extension on the rented item. * RentalHandlingFee - Transaction type that represents the fee that Amazon charges sellers who rent through Amazon. * RentalChargeFailureReimbursement - Transaction type that represents when Amazon sends money to the seller to compensate for a failed charge. * RentalLostItemReimbursement - Transaction type that represents when Amazon sends money to the seller to compensate for a lost item.
        Returns:
        rentalEventType
      • setRentalEventType

        public void setRentalEventType​(java.lang.String rentalEventType)
      • getExtensionLength

        public java.lang.Integer getExtensionLength()
        The number of days that the buyer extended an already rented item. This value is only returned for RentalCustomerPayment-Extension and RentalCustomerRefund-Extension events.
        Returns:
        extensionLength
      • setExtensionLength

        public void setExtensionLength​(java.lang.Integer extensionLength)
      • getPostedDate

        public org.threeten.bp.OffsetDateTime getPostedDate()
        Get postedDate
        Returns:
        postedDate
      • setPostedDate

        public void setPostedDate​(org.threeten.bp.OffsetDateTime postedDate)
      • getRentalChargeList

        public ChargeComponentList getRentalChargeList()
        Get rentalChargeList
        Returns:
        rentalChargeList
      • setRentalChargeList

        public void setRentalChargeList​(ChargeComponentList rentalChargeList)
      • getRentalFeeList

        public FeeComponentList getRentalFeeList()
        Get rentalFeeList
        Returns:
        rentalFeeList
      • setRentalFeeList

        public void setRentalFeeList​(FeeComponentList rentalFeeList)
      • getMarketplaceName

        public java.lang.String getMarketplaceName()
        The name of the marketplace.
        Returns:
        marketplaceName
      • setMarketplaceName

        public void setMarketplaceName​(java.lang.String marketplaceName)
      • getRentalInitialValue

        public Currency getRentalInitialValue()
        Get rentalInitialValue
        Returns:
        rentalInitialValue
      • setRentalInitialValue

        public void setRentalInitialValue​(Currency rentalInitialValue)
      • getRentalReimbursement

        public Currency getRentalReimbursement()
        Get rentalReimbursement
        Returns:
        rentalReimbursement
      • setRentalReimbursement

        public void setRentalReimbursement​(Currency rentalReimbursement)
      • getRentalTaxWithheldList

        public TaxWithheldComponentList getRentalTaxWithheldList()
        Get rentalTaxWithheldList
        Returns:
        rentalTaxWithheldList
      • 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