Package io.moov.sdk.models.components
Class CardAcceptanceMethods
- java.lang.Object
-
- io.moov.sdk.models.components.CardAcceptanceMethods
-
public class CardAcceptanceMethods extends java.lang.ObjectCardAcceptanceMethodsDescribes the distribution of card transactions by payment method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCardAcceptanceMethods.Builder
-
Constructor Summary
Constructors Constructor Description CardAcceptanceMethods()CardAcceptanceMethods(java.util.Optional<java.lang.Integer> inPersonPercentage, java.util.Optional<java.lang.Integer> mailOrPhonePercentage, java.util.Optional<java.lang.Integer> onlinePercentage)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CardAcceptanceMethods.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.util.Optional<java.lang.Integer>inPersonPercentage()Percentage of card transactions that are in-person payments.java.util.Optional<java.lang.Integer>mailOrPhonePercentage()Percentage of card transactions that are mail or phone payments.java.util.Optional<java.lang.Integer>onlinePercentage()Percentage of card transactions that are online payments.java.lang.StringtoString()CardAcceptanceMethodswithInPersonPercentage(int inPersonPercentage)Percentage of card transactions that are in-person payments.CardAcceptanceMethodswithInPersonPercentage(java.util.Optional<java.lang.Integer> inPersonPercentage)Percentage of card transactions that are in-person payments.CardAcceptanceMethodswithMailOrPhonePercentage(int mailOrPhonePercentage)Percentage of card transactions that are mail or phone payments.CardAcceptanceMethodswithMailOrPhonePercentage(java.util.Optional<java.lang.Integer> mailOrPhonePercentage)Percentage of card transactions that are mail or phone payments.CardAcceptanceMethodswithOnlinePercentage(int onlinePercentage)Percentage of card transactions that are online payments.CardAcceptanceMethodswithOnlinePercentage(java.util.Optional<java.lang.Integer> onlinePercentage)Percentage of card transactions that are online payments.
-
-
-
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.
-
builder
public static CardAcceptanceMethods.Builder builder()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-