Package io.moov.sdk.models.components
Class FeePlan.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.FeePlan.Builder
-
- Enclosing class:
- FeePlan
public static final class FeePlan.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeePlan.BuilderbillableFees(java.util.List<BillableFee> billableFees)Additional usage-based fees for this plan.FeePlanbuild()FeePlan.BuildercardAcquiringModel(CardAcquiringModel cardAcquiringModel)Specifies the card processing pricing modelFeePlan.BuildercreatedAt(java.time.OffsetDateTime createdAt)FeePlan.Builderdescription(java.lang.String description)A description of the fee plan.FeePlan.Builderdescription(java.util.Optional<java.lang.String> description)A description of the fee plan.FeePlan.BuilderminimumCommitment(MinimumCommitment minimumCommitment)The minimum spending amount that must be met in the billing period.FeePlan.BuildermonthlyPlatformFee(MonthlyPlatformFee monthlyPlatformFee)Fixed recurring amount paid in the billing period regardless of usage.FeePlan.Buildername(java.lang.String name)The name of the fee plan.FeePlan.BuilderplanID(java.lang.String planID)
-
-
-
Method Detail
-
planID
public FeePlan.Builder planID(java.lang.String planID)
-
name
public FeePlan.Builder name(java.lang.String name)
The name of the fee plan.
-
description
public FeePlan.Builder description(java.lang.String description)
A description of the fee plan.
-
description
public FeePlan.Builder description(java.util.Optional<java.lang.String> description)
A description of the fee plan.
-
cardAcquiringModel
public FeePlan.Builder cardAcquiringModel(CardAcquiringModel cardAcquiringModel)
Specifies the card processing pricing model
-
billableFees
public FeePlan.Builder billableFees(java.util.List<BillableFee> billableFees)
Additional usage-based fees for this plan.
-
minimumCommitment
public FeePlan.Builder minimumCommitment(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 FeePlan.Builder monthlyPlatformFee(MonthlyPlatformFee monthlyPlatformFee)
Fixed recurring amount paid in the billing period regardless of usage.
-
createdAt
public FeePlan.Builder createdAt(java.time.OffsetDateTime createdAt)
-
build
public FeePlan build()
-
-