Class FeePlan


  • public class FeePlan
    extends java.lang.Object
    • Method Detail

      • planID

        public java.lang.String planID()
      • name

        public java.lang.String name()
        The name of the fee plan.
      • description

        public java.util.Optional<java.lang.String> description()
        A description of the fee plan.
      • cardAcquiringModel

        public CardAcquiringModel cardAcquiringModel()
        Specifies the card processing pricing model
      • billableFees

        public java.util.List<BillableFee> billableFees()
        Additional usage-based fees for this plan.
      • minimumCommitment

        public MinimumCommitment minimumCommitment()
        The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference.
      • monthlyPlatformFee

        public MonthlyPlatformFee monthlyPlatformFee()
        Fixed recurring amount paid in the billing period regardless of usage.
      • createdAt

        public java.time.OffsetDateTime createdAt()
      • withPlanID

        public FeePlan withPlanID​(java.lang.String planID)
      • withName

        public FeePlan withName​(java.lang.String name)
        The name of the fee plan.
      • withDescription

        public FeePlan withDescription​(java.lang.String description)
        A description of the fee plan.
      • withDescription

        public FeePlan withDescription​(java.util.Optional<java.lang.String> description)
        A description of the fee plan.
      • withCardAcquiringModel

        public FeePlan withCardAcquiringModel​(CardAcquiringModel cardAcquiringModel)
        Specifies the card processing pricing model
      • withBillableFees

        public FeePlan withBillableFees​(java.util.List<BillableFee> billableFees)
        Additional usage-based fees for this plan.
      • withMinimumCommitment

        public FeePlan withMinimumCommitment​(MinimumCommitment minimumCommitment)
        The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference.
      • withMonthlyPlatformFee

        public FeePlan withMonthlyPlatformFee​(MonthlyPlatformFee monthlyPlatformFee)
        Fixed recurring amount paid in the billing period regardless of usage.
      • withCreatedAt

        public FeePlan withCreatedAt​(java.time.OffsetDateTime createdAt)
      • 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