Package io.moov.sdk.models.components
Class PartnerPricing
- java.lang.Object
-
- io.moov.sdk.models.components.PartnerPricing
-
public class PartnerPricing extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPartnerPricing.Builder
-
Constructor Summary
Constructors Constructor Description PartnerPricing(java.lang.String planID, java.lang.String name, long revenueShare, CardAcquiringModel cardAcquiringModel, java.util.List<BillableFee> billableFees, MinimumCommitment minimumCommitment, MonthlyPlatformFee monthlyPlatformFee, java.time.OffsetDateTime createdAt)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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<BillableFee>billableFees()static PartnerPricing.Builderbuilder()CardAcquiringModelcardAcquiringModel()Specifies the card processing pricing modeljava.time.OffsetDateTimecreatedAt()java.util.Optional<java.lang.String>description()A description of the fee plan.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 fee plan.java.lang.StringplanID()longrevenueShare()The integer percentage value of the revenue split for partner.java.lang.StringtoString()PartnerPricingwithBillableFees(java.util.List<BillableFee> billableFees)PartnerPricingwithCardAcquiringModel(CardAcquiringModel cardAcquiringModel)Specifies the card processing pricing modelPartnerPricingwithCreatedAt(java.time.OffsetDateTime createdAt)PartnerPricingwithDescription(java.lang.String description)A description of the fee plan.PartnerPricingwithDescription(java.util.Optional<java.lang.String> description)A description of the fee plan.PartnerPricingwithMinimumCommitment(MinimumCommitment minimumCommitment)The minimum spending amount that must be met in the billing period.PartnerPricingwithMonthlyPlatformFee(MonthlyPlatformFee monthlyPlatformFee)Fixed recurring amount paid in the billing period regardless of usage.PartnerPricingwithName(java.lang.String name)The name of the fee plan.PartnerPricingwithPlanID(java.lang.String planID)PartnerPricingwithRevenueShare(long revenueShare)The integer percentage value of the revenue split for partner.
-
-
-
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)
-
PartnerPricing
public PartnerPricing(java.lang.String planID, java.lang.String name, 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()
-
builder
public static PartnerPricing.Builder builder()
-
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.
-
withCardAcquiringModel
public PartnerPricing withCardAcquiringModel(CardAcquiringModel cardAcquiringModel)
Specifies the card processing pricing model
-
withBillableFees
public PartnerPricing withBillableFees(java.util.List<BillableFee> billableFees)
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-