Class PartnerPricingAgreement


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

      • PartnerPricingAgreement

        public PartnerPricingAgreement​(java.lang.String agreementID,
                                       java.lang.String planID,
                                       java.util.Optional<java.lang.String> accountID,
                                       java.lang.String name,
                                       java.util.Optional<java.lang.String> description,
                                       java.time.OffsetDateTime acceptedOn,
                                       FeePlanAgreementStatus status,
                                       CardAcquiringModel cardAcquiringModel,
                                       java.util.List<BillableFee> billableFees,
                                       MinimumCommitment minimumCommitment,
                                       MonthlyPlatformFee monthlyPlatformFee,
                                       long revenueShare)
    • Method Detail

      • agreementID

        public java.lang.String agreementID()
      • planID

        public java.lang.String planID()
      • accountID

        public java.util.Optional<java.lang.String> accountID()
      • name

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

        public java.util.Optional<java.lang.String> description()
        The description of the agreement.
      • acceptedOn

        public java.time.OffsetDateTime acceptedOn()
      • 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.
      • revenueShare

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

        public PartnerPricingAgreement withDescription​(java.lang.String description)
        The description of the agreement.
      • withDescription

        public PartnerPricingAgreement withDescription​(java.util.Optional<java.lang.String> description)
        The description of the agreement.
      • withMinimumCommitment

        public PartnerPricingAgreement 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.
      • withRevenueShare

        public PartnerPricingAgreement withRevenueShare​(long revenueShare)
        The integer percentage value of the revenue split for partner.
      • 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