Serialized Form
-
Package org.bhn.promotion.core.config
-
Class org.bhn.promotion.core.config.LocalDateTimeToUtcStringSerializer
class LocalDateTimeToUtcStringSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<LocalDateTime> implements Serializable
-
-
Package org.bhn.promotion.core.exception
-
Exception org.bhn.promotion.core.exception.PromotionException
class PromotionException extends RuntimeException implements Serializable -
Exception org.bhn.promotion.core.exception.RollbackException
class RollbackException extends Exception implements Serializable -
Exception org.bhn.promotion.core.exception.ValidationException
class ValidationException extends Exception implements Serializable-
Serialized Fields
-
message
String message
-
-
-
-
Package org.bhn.promotion.core.model.pricing
-
Class org.bhn.promotion.core.model.pricing.Address
class Address extends Object implements Serializable -
Class org.bhn.promotion.core.model.pricing.BaseOrderItem
class BaseOrderItem extends Object implements Serializable- serialVersionUID:
- 3739672492323124171L
-
Serialized Fields
-
catalogId
String catalogId
-
category
String category
-
delivery
Delivery delivery
-
externalProductIdentifier
String externalProductIdentifier
-
faceValue
@Valid FaceValue faceValue
-
id
String id
-
iid
String iid
-
isSLAMPreferred
boolean isSLAMPreferred
-
merchandiseTotal
BaseSummary merchandiseTotal
-
metaData
Map<String,
String> metaData -
productId
String productId
-
productName
String productName
-
promos
List<Promo> promos
-
quantity
@jakarta.validation.constraints.PositiveOrZero(message="Quantity must be positive"),@jakarta.validation.constraints.Min(value=1L, message="Input order item quantity must be grater or equal to 1") int quantity
-
receiver
Receiver receiver
-
sku
String sku
-
type
@NotBlank(message="Input product type can not be blank") org.bhn.promotion.core.enums.pricing.CardType type
-
upc
@NotBlank(message="Input product upc can not be blank") String upc
-
-
Class org.bhn.promotion.core.model.pricing.BaseSummary
class BaseSummary extends Object implements Serializable- serialVersionUID:
- 3866104730477233596L
-
Serialized Fields
-
currency
String currency
-
originalValue
BigDecimal originalValue
-
value
BigDecimal value
-
-
Class org.bhn.promotion.core.model.pricing.BaseTotalDetails
class BaseTotalDetails extends Object implements Serializable- serialVersionUID:
- 6030830545190256348L
-
Serialized Fields
-
grandTotal
BaseSummary grandTotal
-
merchandiseTotal
BaseSummary merchandiseTotal
-
quantity
int quantity
-
-
Class org.bhn.promotion.core.model.pricing.Delivery
class Delivery extends Object implements Serializable- serialVersionUID:
- 178536617072032316L
-
Serialized Fields
-
digitalMethod
org.bhn.promotion.core.enums.pricing.DigitalMethod digitalMethod
-
physicalMethod
String physicalMethod
-
type
org.bhn.promotion.core.enums.pricing.DeliveryType type
-
-
Class org.bhn.promotion.core.model.pricing.Discount
class Discount extends Object implements Serializable- serialVersionUID:
- -1446568273171385665L
-
Serialized Fields
-
code
String code
-
currency
String currency
-
description
String description
-
type
org.bhn.promotion.core.enums.pricing.AmountType type
-
value
BigDecimal value
-
-
Class org.bhn.promotion.core.model.pricing.FaceValue
class FaceValue extends Object implements Serializable- serialVersionUID:
- -7734175479644411689L
-
Serialized Fields
-
currency
String currency
-
value
@PositiveOrZero(message="Face Value must be positive") @Min(value=1L,message="Face Value must be greater or equal to 1") BigDecimal value
-
-
Class org.bhn.promotion.core.model.pricing.Fee
class Fee extends Object implements Serializable- serialVersionUID:
- 5977297270842000999L
-
Serialized Fields
-
currency
String currency
-
name
String name
-
tierId
String tierId
-
type
org.bhn.promotion.core.enums.pricing.AmountType type
-
value
BigDecimal value
-
-
Class org.bhn.promotion.core.model.pricing.Offer
class Offer extends Object implements Serializable- serialVersionUID:
- -5198226368422868787L
-
Serialized Fields
-
code
String code
-
currency
String currency
-
description
String description
-
id
String id
-
value
BigDecimal value
-
-
Class org.bhn.promotion.core.model.pricing.OrderItem
class OrderItem extends BaseOrderItem implements Serializable- serialVersionUID:
- 3739672492323124171L
-
Class org.bhn.promotion.core.model.pricing.Promo
class Promo extends Object implements Serializable- serialVersionUID:
- -1446568273171385665L
-
Serialized Fields
-
code
String code
-
currency
String currency
-
description
String description
-
discountEffect
String discountEffect
-
discountType
org.bhn.promotion.core.enums.promotions.DiscountType discountType
-
errors
List<ErrorModel> errors
-
id
String id
-
promotionEffect
String promotionEffect
-
promotionType
org.bhn.promotion.core.enums.promotions.PromotionType promotionType
-
status
String status
-
value
BigDecimal value
-
-
Class org.bhn.promotion.core.model.pricing.PromoSummary
class PromoSummary extends BaseSummary implements Serializable- serialVersionUID:
- -8581804549153979019L
-
Serialized Fields
-
eligiblePromos
List<ApplicablePromoModel> eligiblePromos
List of promotions that are eligible for the order, including details about which items they can or cannot be applied to. -
errors
List<ErrorModel> errors
List of errors encountered during the promotion evaluation process. -
promos
List<Promo> promos
List of promotions that are applied to the order without item mapping. -
redemptionId
String redemptionId
The unique identifier for the redemption of promotions. -
rollbackRedemptionId
String rollbackRedemptionId
The unique identifier for the rollback of redemption of promotions. -
shippingFeePromoRedemptionId
String shippingFeePromoRedemptionId
The unique identifier for the redemption of shipping fee promotions. -
shippingFeePromoSummary
BaseSummary shippingFeePromoSummary
Represents the summary of the shipping fee -
valueAddPromoSummary
BaseSummary valueAddPromoSummary
Represents the summary of the value added promotions
-
-
Class org.bhn.promotion.core.model.pricing.PromotionQuoteRequest
class PromotionQuoteRequest extends Object implements Serializable- serialVersionUID:
- -259532477823823049L
-
Serialized Fields
-
bhnOrderId
@NotBlank(message="Input bhnOrderId can not be blank") String bhnOrderId
-
catalogId
String catalogId
-
channel
String channel
-
configurationsMap
Map<String,
String> configurationsMap -
currency
@NotBlank(message="Input billing currency can not be blank") String currency
-
externalId
@NotBlank(message="Input external_id can not be blank") String externalId
-
fees
List<@Valid Fee> fees
-
merchandiseTotal
BaseSummary merchandiseTotal
-
merchantId
@NotBlank(message="Input merchant_id can not be blank") String merchantId
-
orderItems
@NotEmpty(message="Input order item list can not be empty") List<@Valid OrderItem> orderItems
-
paymentCurrencies
List<Currency> paymentCurrencies
-
promos
List<@Valid Promo> promos
-
promosBeta
List<Promo> promosBeta
-
sender
Sender sender
-
shippingFees
List<@Valid ShippingFee> shippingFees
-
storeCode
String storeCode
-
tenantId
@NotBlank(message="Input tenant_id can not be blank") String tenantId
-
type
String type
-
-
Class org.bhn.promotion.core.model.pricing.Receiver
class Receiver extends Object implements Serializable -
Class org.bhn.promotion.core.model.pricing.RollbackRequest
class RollbackRequest extends Object implements Serializable- serialVersionUID:
- -259532477823823049L
-
Serialized Fields
-
apiVersion
String apiVersion
-
metaData
HashMap<String,
Object> metaData -
orderId
String orderId
-
redemptionId
@NotBlank(message="Input redemptionId can not be blank") String redemptionId
-
rollbackReason
@NotBlank(message="Input rollback reason can not be blank") String rollbackReason
-
shippingFeePromoRedemptionId
String shippingFeePromoRedemptionId
-
type
String type
-
-
Class org.bhn.promotion.core.model.pricing.Sender
class Sender extends Object implements Serializable- serialVersionUID:
- 926369651232222025L
-
Class org.bhn.promotion.core.model.pricing.ShippingFee
class ShippingFee extends Object implements Serializable- serialVersionUID:
- 7925619905334805656L
-
Serialized Fields
-
currency
String currency
-
name
String name
-
type
org.bhn.promotion.core.enums.pricing.ShippingType type
-
value
BigDecimal value
-
-
Class org.bhn.promotion.core.model.pricing.Signer
class Signer extends Object implements Serializable- serialVersionUID:
- -345173986643640596L
-
Serialized Fields
-
id
String id
-
signatory
String signatory
-
signature
int signature
-
validTill
LocalDateTime validTill
-
-
Class org.bhn.promotion.core.model.pricing.Tax
class Tax extends Object implements Serializable- serialVersionUID:
- -1540254931924234256L
-
Serialized Fields
-
rate
double rate
-
taxCode
String taxCode
-
type
String type
-
value
BigDecimal value
-
-
-
Package org.bhn.promotion.core.model.promotions
-
Class org.bhn.promotion.core.model.promotions.ErrorModel
class ErrorModel extends Object implements Serializable- serialVersionUID:
- 1905122041950253745L
-
-
Package org.bhn.promotion.voucherify.exception
-
Exception org.bhn.promotion.voucherify.exception.VoucherifyApiException
class VoucherifyApiException extends Exception implements Serializable -
Exception org.bhn.promotion.voucherify.exception.VoucherifyRedemptionException
class VoucherifyRedemptionException extends Exception implements Serializable
-