Package io.moov.sdk.models.components
Class FeePlan
- java.lang.Object
-
- io.moov.sdk.models.components.FeePlan
-
public class FeePlan extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeePlan.Builder
-
Constructor Summary
Constructors Constructor Description FeePlan(java.lang.String planID, java.lang.String name, CardAcquiringModel cardAcquiringModel, java.util.List<BillableFee> billableFees, MinimumCommitment minimumCommitment, MonthlyPlatformFee monthlyPlatformFee, java.time.OffsetDateTime createdAt)FeePlan(java.lang.String planID, java.lang.String name, java.util.Optional<java.lang.String> description, 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()Additional usage-based fees for this plan.static FeePlan.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()java.lang.StringtoString()FeePlanwithBillableFees(java.util.List<BillableFee> billableFees)Additional usage-based fees for this plan.FeePlanwithCardAcquiringModel(CardAcquiringModel cardAcquiringModel)Specifies the card processing pricing modelFeePlanwithCreatedAt(java.time.OffsetDateTime createdAt)FeePlanwithDescription(java.lang.String description)A description of the fee plan.FeePlanwithDescription(java.util.Optional<java.lang.String> description)A description of the fee plan.FeePlanwithMinimumCommitment(MinimumCommitment minimumCommitment)The minimum spending amount that must be met in the billing period.FeePlanwithMonthlyPlatformFee(MonthlyPlatformFee monthlyPlatformFee)Fixed recurring amount paid in the billing period regardless of usage.FeePlanwithName(java.lang.String name)The name of the fee plan.FeePlanwithPlanID(java.lang.String planID)
-
-
-
Constructor Detail
-
FeePlan
public FeePlan(java.lang.String planID, java.lang.String name, java.util.Optional<java.lang.String> description, CardAcquiringModel cardAcquiringModel, java.util.List<BillableFee> billableFees, MinimumCommitment minimumCommitment, MonthlyPlatformFee monthlyPlatformFee, java.time.OffsetDateTime createdAt)
-
FeePlan
public FeePlan(java.lang.String planID, java.lang.String name, 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.
-
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()
-
builder
public static FeePlan.Builder builder()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-