Class CommissionStructure
-
- All Implemented Interfaces:
public final class CommissionStructure
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCommissionStructure.BuilderA builder for CommissionStructure.
public final classCommissionStructure.Type
-
Method Summary
-
-
Method Detail
-
approvalRequired
final Optional<Boolean> approvalRequired()
-
durationInMonths
final Optional<Long> durationInMonths()
-
hasMaxAmount
final Optional<Boolean> hasMaxAmount()
-
holdDuration
final Optional<Long> holdDuration()
-
introAmount
final Optional<Long> introAmount()
-
introAmountIso
final Optional<String> introAmountIso()
-
introDuration
final Optional<String> introDuration()
-
introDurationInMonths
final Optional<Long> introDurationInMonths()
-
introPercent
final Optional<Double> introPercent()
-
maxAmountIso
final Optional<String> maxAmountIso()
-
minPaidReferrals
final Optional<Long> minPaidReferrals()
-
type
final Optional<CommissionStructure.Type> type()
-
_amount
final JsonField<Long> _amount()
Returns the raw JSON value of amount.
Unlike amount, this method doesn't throw if the JSON field has an unexpected type.
-
_approvalRequired
final JsonField<Boolean> _approvalRequired()
Returns the raw JSON value of approvalRequired.
Unlike approvalRequired, this method doesn't throw if the JSON field has an unexpected type.
-
_duration
final JsonField<String> _duration()
Returns the raw JSON value of duration.
Unlike duration, this method doesn't throw if the JSON field has an unexpected type.
-
_durationInMonths
final JsonField<Long> _durationInMonths()
Returns the raw JSON value of durationInMonths.
Unlike durationInMonths, this method doesn't throw if the JSON field has an unexpected type.
-
_event
final JsonField<String> _event()
Returns the raw JSON value of event.
Unlike event, this method doesn't throw if the JSON field has an unexpected type.
-
_hasIntro
final JsonField<Boolean> _hasIntro()
Returns the raw JSON value of hasIntro.
Unlike hasIntro, this method doesn't throw if the JSON field has an unexpected type.
-
_hasMaxAmount
final JsonField<Boolean> _hasMaxAmount()
Returns the raw JSON value of hasMaxAmount.
Unlike hasMaxAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_holdDuration
final JsonField<Long> _holdDuration()
Returns the raw JSON value of holdDuration.
Unlike holdDuration, this method doesn't throw if the JSON field has an unexpected type.
-
_introAmount
final JsonField<Long> _introAmount()
Returns the raw JSON value of introAmount.
Unlike introAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_introAmountIso
final JsonField<String> _introAmountIso()
Returns the raw JSON value of introAmountIso.
Unlike introAmountIso, this method doesn't throw if the JSON field has an unexpected type.
-
_introDuration
final JsonField<String> _introDuration()
Returns the raw JSON value of introDuration.
Unlike introDuration, this method doesn't throw if the JSON field has an unexpected type.
-
_introDurationInMonths
final JsonField<Long> _introDurationInMonths()
Returns the raw JSON value of introDurationInMonths.
Unlike introDurationInMonths, this method doesn't throw if the JSON field has an unexpected type.
-
_introPercent
final JsonField<Double> _introPercent()
Returns the raw JSON value of introPercent.
Unlike introPercent, this method doesn't throw if the JSON field has an unexpected type.
-
_introType
final JsonField<String> _introType()
Returns the raw JSON value of introType.
Unlike introType, this method doesn't throw if the JSON field has an unexpected type.
-
_maxAmount
final JsonField<Long> _maxAmount()
Returns the raw JSON value of maxAmount.
Unlike maxAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_maxAmountIso
final JsonField<String> _maxAmountIso()
Returns the raw JSON value of maxAmountIso.
Unlike maxAmountIso, this method doesn't throw if the JSON field has an unexpected type.
-
_minPaidReferrals
final JsonField<Long> _minPaidReferrals()
Returns the raw JSON value of minPaidReferrals.
Unlike minPaidReferrals, this method doesn't throw if the JSON field has an unexpected type.
-
_percent
final JsonField<Double> _percent()
Returns the raw JSON value of percent.
Unlike percent, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<CommissionStructure.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CommissionStructure.Builder toBuilder()
-
validate
final CommissionStructure validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static CommissionStructure.Builder builder()
Returns a mutable builder for constructing an instance of CommissionStructure.
-
-
-
-