Package io.moov.sdk.models.components
Class PartnerPricingAgreement.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.PartnerPricingAgreement.Builder
-
- Enclosing class:
- PartnerPricingAgreement
public static final class PartnerPricingAgreement.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartnerPricingAgreement.BuilderacceptedOn(java.time.OffsetDateTime acceptedOn)PartnerPricingAgreement.BuilderaccountID(java.lang.String accountID)PartnerPricingAgreement.BuilderaccountID(java.util.Optional<java.lang.String> accountID)PartnerPricingAgreement.BuilderagreementID(java.lang.String agreementID)PartnerPricingAgreement.BuilderbillableFees(java.util.List<BillableFee> billableFees)PartnerPricingAgreementbuild()PartnerPricingAgreement.BuildercardAcquiringModel(CardAcquiringModel cardAcquiringModel)Specifies the card processing pricing modelPartnerPricingAgreement.Builderdescription(java.lang.String description)The description of the agreement.PartnerPricingAgreement.Builderdescription(java.util.Optional<java.lang.String> description)The description of the agreement.PartnerPricingAgreement.BuilderminimumCommitment(MinimumCommitment minimumCommitment)The minimum spending amount that must be met in the billing period.PartnerPricingAgreement.BuildermonthlyPlatformFee(MonthlyPlatformFee monthlyPlatformFee)Fixed recurring amount paid in the billing period regardless of usage.PartnerPricingAgreement.Buildername(java.lang.String name)The name of the agreement.PartnerPricingAgreement.BuilderplanID(java.lang.String planID)PartnerPricingAgreement.BuilderrevenueShare(long revenueShare)The integer percentage value of the revenue split for partner.PartnerPricingAgreement.Builderstatus(FeePlanAgreementStatus status)
-
-
-
Method Detail
-
agreementID
public PartnerPricingAgreement.Builder agreementID(java.lang.String agreementID)
-
planID
public PartnerPricingAgreement.Builder planID(java.lang.String planID)
-
accountID
public PartnerPricingAgreement.Builder accountID(java.lang.String accountID)
-
accountID
public PartnerPricingAgreement.Builder accountID(java.util.Optional<java.lang.String> accountID)
-
name
public PartnerPricingAgreement.Builder name(java.lang.String name)
The name of the agreement.
-
description
public PartnerPricingAgreement.Builder description(java.lang.String description)
The description of the agreement.
-
description
public PartnerPricingAgreement.Builder description(java.util.Optional<java.lang.String> description)
The description of the agreement.
-
acceptedOn
public PartnerPricingAgreement.Builder acceptedOn(java.time.OffsetDateTime acceptedOn)
-
status
public PartnerPricingAgreement.Builder status(FeePlanAgreementStatus status)
-
cardAcquiringModel
public PartnerPricingAgreement.Builder cardAcquiringModel(CardAcquiringModel cardAcquiringModel)
Specifies the card processing pricing model
-
billableFees
public PartnerPricingAgreement.Builder billableFees(java.util.List<BillableFee> billableFees)
-
minimumCommitment
public PartnerPricingAgreement.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 PartnerPricingAgreement.Builder monthlyPlatformFee(MonthlyPlatformFee monthlyPlatformFee)
Fixed recurring amount paid in the billing period regardless of usage.
-
revenueShare
public PartnerPricingAgreement.Builder revenueShare(long revenueShare)
The integer percentage value of the revenue split for partner.
-
build
public PartnerPricingAgreement build()
-
-