Class BillingDescriptor


  • public final class BillingDescriptor
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BillingDescriptor()  
      BillingDescriptor​(java.lang.String name, java.lang.String city, java.lang.String reference)
      Creates a new BillingDescriptor instance.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static BillingDescriptor.BillingDescriptorBuilder builder()  
      boolean equals​(java.lang.Object o)  
      java.lang.String getCity()
      The city from which the payment originated.
      java.lang.String getName()
      A description for the payment, which will be displayed on the customer's card statement.
      java.lang.String getReference()
      The reference to display on the customer's bank statement.
      int hashCode()  
      void setCity​(java.lang.String city)
      The city from which the payment originated.
      void setName​(java.lang.String name)
      A description for the payment, which will be displayed on the customer's card statement.
      void setReference​(java.lang.String reference)
      The reference to display on the customer's bank statement.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BillingDescriptor

        public BillingDescriptor()
      • BillingDescriptor

        public BillingDescriptor​(java.lang.String name,
                                 java.lang.String city,
                                 java.lang.String reference)
        Creates a new BillingDescriptor instance.
        Parameters:
        name - A description for the payment, which will be displayed on the customer's card statement. Only applicable for card payments.
        city - The city from which the payment originated. Only applicable for card payments.
        reference - The reference to display on the customer's bank statement. Required for payouts to bank accounts.
    • Method Detail

      • getName

        public java.lang.String getName()
        A description for the payment, which will be displayed on the customer's card statement. Only applicable for card payments.
      • getCity

        public java.lang.String getCity()
        The city from which the payment originated. Only applicable for card payments.
      • getReference

        public java.lang.String getReference()
        The reference to display on the customer's bank statement. Required for payouts to bank accounts.
      • setName

        public void setName​(java.lang.String name)
        A description for the payment, which will be displayed on the customer's card statement. Only applicable for card payments.
      • setCity

        public void setCity​(java.lang.String city)
        The city from which the payment originated. Only applicable for card payments.
      • setReference

        public void setReference​(java.lang.String reference)
        The reference to display on the customer's bank statement. Required for payouts to bank accounts.
      • 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