Class CardAcceptanceMethods


  • public class CardAcceptanceMethods
    extends java.lang.Object
    CardAcceptanceMethods

    Describes the distribution of card transactions by payment method.

    • Constructor Detail

      • CardAcceptanceMethods

        public CardAcceptanceMethods​(java.util.Optional<java.lang.Integer> inPersonPercentage,
                                     java.util.Optional<java.lang.Integer> mailOrPhonePercentage,
                                     java.util.Optional<java.lang.Integer> onlinePercentage)
      • CardAcceptanceMethods

        public CardAcceptanceMethods()
    • Method Detail

      • inPersonPercentage

        public java.util.Optional<java.lang.Integer> inPersonPercentage()
        Percentage of card transactions that are in-person payments. Minimum value is 0, maximum is 100.
      • mailOrPhonePercentage

        public java.util.Optional<java.lang.Integer> mailOrPhonePercentage()
        Percentage of card transactions that are mail or phone payments. Minimum value is 0, maximum is 100.
      • onlinePercentage

        public java.util.Optional<java.lang.Integer> onlinePercentage()
        Percentage of card transactions that are online payments. Minimum value is 0, maximum is 100.
      • withInPersonPercentage

        public CardAcceptanceMethods withInPersonPercentage​(int inPersonPercentage)
        Percentage of card transactions that are in-person payments. Minimum value is 0, maximum is 100.
      • withInPersonPercentage

        public CardAcceptanceMethods withInPersonPercentage​(java.util.Optional<java.lang.Integer> inPersonPercentage)
        Percentage of card transactions that are in-person payments. Minimum value is 0, maximum is 100.
      • withMailOrPhonePercentage

        public CardAcceptanceMethods withMailOrPhonePercentage​(int mailOrPhonePercentage)
        Percentage of card transactions that are mail or phone payments. Minimum value is 0, maximum is 100.
      • withMailOrPhonePercentage

        public CardAcceptanceMethods withMailOrPhonePercentage​(java.util.Optional<java.lang.Integer> mailOrPhonePercentage)
        Percentage of card transactions that are mail or phone payments. Minimum value is 0, maximum is 100.
      • withOnlinePercentage

        public CardAcceptanceMethods withOnlinePercentage​(int onlinePercentage)
        Percentage of card transactions that are online payments. Minimum value is 0, maximum is 100.
      • withOnlinePercentage

        public CardAcceptanceMethods withOnlinePercentage​(java.util.Optional<java.lang.Integer> onlinePercentage)
        Percentage of card transactions that are online payments. Minimum value is 0, maximum is 100.
      • 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