Package io.moov.sdk.models.components
Class PartnerPricingAgreement
- java.lang.Object
-
- io.moov.sdk.models.components.PartnerPricingAgreement
-
public class PartnerPricingAgreement extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPartnerPricingAgreement.Builder
-
Constructor Summary
Constructors Constructor Description PartnerPricingAgreement(java.lang.String agreementID, java.lang.String planID, java.lang.String name, java.time.OffsetDateTime acceptedOn, FeePlanAgreementStatus status, CardAcquiringModel cardAcquiringModel, java.util.List<BillableFee> billableFees, MinimumCommitment minimumCommitment, MonthlyPlatformFee monthlyPlatformFee, long revenueShare)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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.OffsetDateTimeacceptedOn()java.util.Optional<java.lang.String>accountID()java.lang.StringagreementID()java.util.List<BillableFee>billableFees()static PartnerPricingAgreement.Builderbuilder()CardAcquiringModelcardAcquiringModel()Specifies the card processing pricing modeljava.util.Optional<java.lang.String>description()The description of the agreement.booleanequals(java.lang.Object o)inthashCode()MinimumCommitmentminimumCommitment()The minimum spending amount that must be met in the billing period.MonthlyPlatformFeemonthlyPlatformFee()Fixed recurring amount paid in the billing period regardless of usage.java.lang.Stringname()The name of the agreement.java.lang.StringplanID()longrevenueShare()The integer percentage value of the revenue split for partner.FeePlanAgreementStatusstatus()java.lang.StringtoString()PartnerPricingAgreementwithAcceptedOn(java.time.OffsetDateTime acceptedOn)PartnerPricingAgreementwithAccountID(java.lang.String accountID)PartnerPricingAgreementwithAccountID(java.util.Optional<java.lang.String> accountID)PartnerPricingAgreementwithAgreementID(java.lang.String agreementID)PartnerPricingAgreementwithBillableFees(java.util.List<BillableFee> billableFees)PartnerPricingAgreementwithCardAcquiringModel(CardAcquiringModel cardAcquiringModel)Specifies the card processing pricing modelPartnerPricingAgreementwithDescription(java.lang.String description)The description of the agreement.PartnerPricingAgreementwithDescription(java.util.Optional<java.lang.String> description)The description of the agreement.PartnerPricingAgreementwithMinimumCommitment(MinimumCommitment minimumCommitment)The minimum spending amount that must be met in the billing period.PartnerPricingAgreementwithMonthlyPlatformFee(MonthlyPlatformFee monthlyPlatformFee)Fixed recurring amount paid in the billing period regardless of usage.PartnerPricingAgreementwithName(java.lang.String name)The name of the agreement.PartnerPricingAgreementwithPlanID(java.lang.String planID)PartnerPricingAgreementwithRevenueShare(long revenueShare)The integer percentage value of the revenue split for partner.PartnerPricingAgreementwithStatus(FeePlanAgreementStatus status)
-
-
-
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)
-
PartnerPricingAgreement
public PartnerPricingAgreement(java.lang.String agreementID, java.lang.String planID, java.lang.String name, 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()
-
status
public FeePlanAgreementStatus status()
-
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.
-
builder
public static PartnerPricingAgreement.Builder builder()
-
withAgreementID
public PartnerPricingAgreement withAgreementID(java.lang.String agreementID)
-
withPlanID
public PartnerPricingAgreement withPlanID(java.lang.String planID)
-
withAccountID
public PartnerPricingAgreement withAccountID(java.lang.String accountID)
-
withAccountID
public PartnerPricingAgreement withAccountID(java.util.Optional<java.lang.String> accountID)
-
withName
public PartnerPricingAgreement withName(java.lang.String name)
The name of the agreement.
-
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.
-
withAcceptedOn
public PartnerPricingAgreement withAcceptedOn(java.time.OffsetDateTime acceptedOn)
-
withStatus
public PartnerPricingAgreement withStatus(FeePlanAgreementStatus status)
-
withCardAcquiringModel
public PartnerPricingAgreement withCardAcquiringModel(CardAcquiringModel cardAcquiringModel)
Specifies the card processing pricing model
-
withBillableFees
public PartnerPricingAgreement withBillableFees(java.util.List<BillableFee> billableFees)
-
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.
-
withMonthlyPlatformFee
public PartnerPricingAgreement withMonthlyPlatformFee(MonthlyPlatformFee monthlyPlatformFee)
Fixed recurring amount paid in the billing period regardless of usage.
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-