Package io.moov.sdk.models.components
Class FacilitatorFee.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.FacilitatorFee.Builder
-
- Enclosing class:
- FacilitatorFee
public static final class FacilitatorFee.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FacilitatorFeebuild()FacilitatorFee.Buildermarkup(long markup)Markup facilitator fee in cents.FacilitatorFee.Buildermarkup(java.util.Optional<java.lang.Long> markup)Markup facilitator fee in cents.FacilitatorFee.BuildermarkupDecimal(java.lang.String markupDecimal)Same as `markup`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.FacilitatorFee.BuildermarkupDecimal(java.util.Optional<java.lang.String> markupDecimal)Same as `markup`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.FacilitatorFee.Buildertotal(long total)Total facilitator fee in cents.FacilitatorFee.Buildertotal(java.util.Optional<java.lang.Long> total)Total facilitator fee in cents.FacilitatorFee.BuildertotalDecimal(java.lang.String totalDecimal)Same as `total`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.FacilitatorFee.BuildertotalDecimal(java.util.Optional<java.lang.String> totalDecimal)Same as `total`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.
-
-
-
Method Detail
-
total
public FacilitatorFee.Builder total(long total)
Total facilitator fee in cents. Only either `total` or `totalDecimal` can be set.
-
total
public FacilitatorFee.Builder total(java.util.Optional<java.lang.Long> total)
Total facilitator fee in cents. Only either `total` or `totalDecimal` can be set.
-
totalDecimal
public FacilitatorFee.Builder totalDecimal(java.lang.String totalDecimal)
Same as `total`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.Only either `total` or `totalDecimal` can be set. Set this field if you expect the fee to be in fractions of a cent.
-
totalDecimal
public FacilitatorFee.Builder totalDecimal(java.util.Optional<java.lang.String> totalDecimal)
Same as `total`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.Only either `total` or `totalDecimal` can be set. Set this field if you expect the fee to be in fractions of a cent.
-
markup
public FacilitatorFee.Builder markup(long markup)
Markup facilitator fee in cents. Only either `markup` or `markupDecimal` can be set.
-
markup
public FacilitatorFee.Builder markup(java.util.Optional<java.lang.Long> markup)
Markup facilitator fee in cents. Only either `markup` or `markupDecimal` can be set.
-
markupDecimal
public FacilitatorFee.Builder markupDecimal(java.lang.String markupDecimal)
Same as `markup`, but a decimal-formatted numerical string that represents up to 9 decimal place precision. Only either `markup` or `markupDecimal` can be set. Set this field if you expect the fee to be in fractions of a cent.
-
markupDecimal
public FacilitatorFee.Builder markupDecimal(java.util.Optional<java.lang.String> markupDecimal)
Same as `markup`, but a decimal-formatted numerical string that represents up to 9 decimal place precision. Only either `markup` or `markupDecimal` can be set. Set this field if you expect the fee to be in fractions of a cent.
-
build
public FacilitatorFee build()
-
-