Class PartnerPricing


  • public class PartnerPricing
    extends java.lang.Object
    • Constructor Detail

      • PartnerPricing

        public PartnerPricing​(java.lang.String planID,
                              java.lang.String name,
                              java.util.Optional<java.lang.String> description,
                              long revenueShare,
                              CardAcquiringModel cardAcquiringModel,
                              java.util.List<BillableFee> billableFees,
                              MinimumCommitment minimumCommitment,
                              MonthlyPlatformFee monthlyPlatformFee,
                              java.time.OffsetDateTime createdAt)
    • 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.
      • revenueShare

        public long revenueShare()
        The integer percentage value of the revenue split for partner.
      • cardAcquiringModel

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

        public java.util.List<BillableFee> billableFees()
      • 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 PartnerPricing withPlanID​(java.lang.String planID)
      • withName

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

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

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

        public PartnerPricing withRevenueShare​(long revenueShare)
        The integer percentage value of the revenue split for partner.
      • withMinimumCommitment

        public PartnerPricing 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 PartnerPricing withMonthlyPlatformFee​(MonthlyPlatformFee monthlyPlatformFee)
        Fixed recurring amount paid in the billing period regardless of usage.
      • withCreatedAt

        public PartnerPricing 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