Package travel.wink.sdk.extranet.model
Class CouponSupplier
java.lang.Object
travel.wink.sdk.extranet.model.CouponSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-08T09:23:20.721546517+07:00[Asia/Bangkok]")
public class CouponSupplier
extends Object
CouponSupplier
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondurationInMonths(Long durationInMonths) booleanGet amountOffGet createdGet currencyGet deletedGet durationGet durationInMonthsgetId()Get idGet livemodeGet maxRedemptionsGet metadatagetName()Get nameGet _object@Valid BigDecimalGet percentOffGet redeemByGet timesRedeemedgetValid()Get validinthashCode()maxRedemptions(Long maxRedemptions) percentOff(BigDecimal percentOff) putMetadataItem(String key, String metadataItem) voidsetAmountOff(Long amountOff) voidsetCreated(Long created) voidsetCurrency(String currency) voidsetDeleted(Boolean deleted) voidsetDuration(String duration) voidsetDurationInMonths(Long durationInMonths) voidvoidsetLivemode(Boolean livemode) voidsetMaxRedemptions(Long maxRedemptions) voidsetMetadata(Map<String, String> metadata) voidvoidvoidsetPercentOff(BigDecimal percentOff) voidsetRedeemBy(Long redeemBy) voidsetTimesRedeemed(Long timesRedeemed) voidtimesRedeemed(Long timesRedeemed) toString()
-
Field Details
-
JSON_PROPERTY_AMOUNT_OFF
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_CURRENCY
- See Also:
-
JSON_PROPERTY_DELETED
- See Also:
-
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_DURATION_IN_MONTHS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LIVEMODE
- See Also:
-
JSON_PROPERTY_MAX_REDEMPTIONS
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OBJECT
- See Also:
-
JSON_PROPERTY_PERCENT_OFF
- See Also:
-
JSON_PROPERTY_REDEEM_BY
- See Also:
-
JSON_PROPERTY_TIMES_REDEEMED
- See Also:
-
JSON_PROPERTY_VALID
- See Also:
-
-
Constructor Details
-
CouponSupplier
public CouponSupplier()
-
-
Method Details
-
amountOff
-
getAmountOff
-
setAmountOff
-
created
-
getCreated
-
setCreated
-
currency
-
getCurrency
-
setCurrency
-
deleted
-
getDeleted
-
setDeleted
-
duration
-
getDuration
-
setDuration
-
durationInMonths
-
getDurationInMonths
-
setDurationInMonths
-
id
-
getId
-
setId
-
livemode
-
getLivemode
-
setLivemode
-
maxRedemptions
-
getMaxRedemptions
-
setMaxRedemptions
-
metadata
-
putMetadataItem
-
getMetadata
-
setMetadata
-
name
-
getName
-
setName
-
_object
-
getObject
-
setObject
-
percentOff
-
getPercentOff
-
setPercentOff
-
redeemBy
-
getRedeemBy
-
setRedeemBy
-
timesRedeemed
-
getTimesRedeemed
-
setTimesRedeemed
-
valid
-
getValid
-
setValid
-
equals
-
hashCode
-
toString
-