voucherify 8.0.1 → 8.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Dockerfile +1 -1
- data/ENDPOINTS-COVERAGE.md +69 -60
- data/Gemfile.lock +9 -7
- data/README.md +55 -2
- data/__tests__/spec/12_validation_rules_spec.rb +1 -15
- data/docs/AccessSettings.md +9 -0
- data/docs/AccessSettingsAssign.md +10 -0
- data/docs/AccessSettingsUnassign.md +10 -0
- data/docs/ApplicableTo.md +3 -2
- data/docs/ApplicableToOrderItemUnitsItem.md +9 -0
- data/docs/ApplicationDetailsItem.md +14 -0
- data/docs/AreaStoreCampaignAssignment.md +1 -0
- data/docs/BinApi.md +4 -4
- data/docs/Campaign.md +3 -3
- data/docs/CampaignBase.md +3 -2
- data/docs/CampaignsApi.md +3 -3
- data/docs/CampaignsCreateRequestBody.md +2 -1
- data/docs/CampaignsCreateResponseBody.md +3 -3
- data/docs/CampaignsGetResponseBody.md +3 -3
- data/docs/CampaignsUpdateRequestBody.md +3 -2
- data/docs/CampaignsUpdateResponseBody.md +3 -3
- data/docs/CampaignsVouchersCreateCombinedResponseBodyLoyaltyCard.md +2 -1
- data/docs/CampaignsVouchersCreateResponseBodyLoyaltyCard.md +2 -1
- data/docs/ClientValidationsValidateResponseBodyRedeemablesItem.md +3 -2
- data/docs/ClientValidationsValidateResponseBodyRedeemablesItemResultDiscount.md +1 -1
- data/docs/CustomerLoyalty.md +1 -1
- data/docs/Discount.md +1 -1
- data/docs/DiscountUnitMultipleOneUnit.md +1 -1
- data/docs/EarningRule.md +1 -0
- data/docs/EarningRulePendingPoints.md +9 -0
- data/docs/Error.md +1 -0
- data/docs/ErrorError.md +8 -0
- data/docs/EventSource.md +10 -0
- data/docs/EventSourceApiKey.md +9 -0
- data/docs/EventSourceUser.md +8 -0
- data/docs/InapplicableTo.md +3 -2
- data/docs/InapplicableToOrderItemUnitsItem.md +9 -0
- data/docs/LoyaltiesApi.md +334 -10
- data/docs/LoyaltiesCreateCampaignRequestBody.md +2 -1
- data/docs/LoyaltiesEarningRulesCreateResponseBody.md +1 -0
- data/docs/LoyaltiesEarningRulesCreateResponseBodyPendingPoints.md +9 -0
- data/docs/LoyaltiesEarningRulesDisableResponseBody.md +1 -0
- data/docs/LoyaltiesEarningRulesDisableResponseBodyPendingPoints.md +9 -0
- data/docs/LoyaltiesEarningRulesEnableResponseBody.md +1 -0
- data/docs/LoyaltiesEarningRulesEnableResponseBodyPendingPoints.md +9 -0
- data/docs/LoyaltiesEarningRulesGetResponseBody.md +1 -0
- data/docs/LoyaltiesEarningRulesGetResponseBodyPendingPoints.md +9 -0
- data/docs/LoyaltiesEarningRulesUpdateResponseBody.md +1 -0
- data/docs/LoyaltiesEarningRulesUpdateResponseBodyPendingPoints.md +9 -0
- data/docs/LoyaltiesMembersBalanceUpdateResponseBody.md +1 -1
- data/docs/LoyaltiesMembersCreateResponseBodyLoyaltyCard.md +2 -1
- data/docs/LoyaltiesMembersGetResponseBodyLoyaltyCard.md +2 -1
- data/docs/LoyaltiesMembersPendingPointsActivateResponseBody.md +14 -0
- data/docs/LoyaltiesMembersPendingPointsActivateResponseBodyRelatedObject.md +9 -0
- data/docs/LoyaltiesMembersPendingPointsListResponseBody.md +12 -0
- data/docs/LoyaltiesMembersPointsExpirationListResponseBodyDataItem.md +9 -9
- data/docs/LoyaltiesMembersPointsExpirationListResponseBodyDataItemBucket.md +1 -1
- data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherLoyaltyCard.md +2 -1
- data/docs/LoyaltiesMembersTransfersCreateResponseBodyLoyaltyCard.md +2 -1
- data/docs/LoyaltiesPendingPointsListResponseBody.md +12 -0
- data/docs/LoyaltiesUpdateCampaignRequestBody.md +3 -2
- data/docs/LoyaltyCardTransaction.md +2 -2
- data/docs/LoyaltyCardTransactionDetails.md +2 -0
- data/docs/LoyaltyCardTransactionDetailsBalance.md +5 -4
- data/docs/LoyaltyCardTransactionDetailsBalanceRelatedObject.md +1 -1
- data/docs/LoyaltyCardTransactionDetailsEarningRule.md +1 -1
- data/docs/LoyaltyCardTransactionDetailsHolderLoyaltyTier.md +9 -0
- data/docs/LoyaltyCardTransactionDetailsLoyaltyTier.md +2 -2
- data/docs/LoyaltyMemberLoyaltyCard.md +2 -1
- data/docs/LoyaltyPendingPoints.md +17 -0
- data/docs/LoyaltyPendingPointsDetails.md +12 -0
- data/docs/LoyaltyPendingPointsDetailsEarningRule.md +9 -0
- data/docs/LoyaltyPendingPointsDetailsEarningRuleSource.md +8 -0
- data/docs/LoyaltyPendingPointsDetailsEvent.md +14 -0
- data/docs/LoyaltyPendingPointsDetailsHolderLoyaltyTier.md +9 -0
- data/docs/LoyaltyPendingPointsDetailsLoyaltyTier.md +9 -0
- data/docs/LoyaltyPendingPointsDetailsOrder.md +9 -0
- data/docs/LoyaltyPointsBucket.md +16 -0
- data/docs/LoyaltyPointsBucketBucket.md +8 -0
- data/docs/LoyaltyTierExpiration.md +1 -1
- data/docs/Order.md +3 -3
- data/docs/OrderCalculated.md +12 -12
- data/docs/OrderCalculatedItem.md +2 -1
- data/docs/OrderCalculatedItemProduct.md +1 -1
- data/docs/OrderCalculatedItemSku.md +1 -0
- data/docs/OrderItem.md +1 -1
- data/docs/OrderItemProduct.md +1 -1
- data/docs/OrderItemSku.md +1 -0
- data/docs/OrderRedemptionsEntry.md +1 -1
- data/docs/OrdersCreateRequestBody.md +3 -3
- data/docs/OrdersCreateResponseBody.md +12 -12
- data/docs/OrdersGetResponseBody.md +12 -12
- data/docs/OrdersImportCreateRequestBodyItem.md +3 -3
- data/docs/OrdersUpdateRequestBody.md +3 -3
- data/docs/OrdersUpdateResponseBody.md +12 -12
- data/docs/ParameterOrderListPendingPoints.md +7 -0
- data/docs/Product.md +1 -1
- data/docs/ProductCollectionsProductsListResponseBodyDataItem.md +1 -1
- data/docs/ProductWithoutSkus.md +1 -1
- data/docs/ProductsCreateResponseBody.md +1 -1
- data/docs/ProductsGetResponseBody.md +1 -1
- data/docs/ProductsSkusCreateResponseBody.md +1 -1
- data/docs/ProductsSkusUpdateResponseBody.md +1 -1
- data/docs/ProductsUpdateResponseBody.md +1 -1
- data/docs/RedeemableLoyaltyCard.md +1 -1
- data/docs/RedeemableVoucherLoyaltyCard.md +2 -1
- data/docs/RedemptionEntryOrder.md +12 -12
- data/docs/RedemptionEntryVoucherLoyaltyCard.md +2 -1
- data/docs/RedemptionVoucherLoyaltyCard.md +2 -1
- data/docs/RedemptionsGetResponseBodyOrder.md +12 -12
- data/docs/RedemptionsGetResponseBodyVoucherLoyaltyCard.md +2 -1
- data/docs/RedemptionsListResponseBodyRedemptionsItemOrder.md +12 -12
- data/docs/RedemptionsListResponseBodyRedemptionsItemVoucherLoyaltyCard.md +2 -1
- data/docs/SimpleLoyaltyCard.md +2 -1
- data/docs/Sku.md +1 -1
- data/docs/SkusGetResponseBody.md +1 -1
- data/docs/TemplatesCampaignsCampaignSetupCreateRequestBody.md +2 -1
- data/docs/ValidationsRedeemableInapplicable.md +3 -2
- data/docs/ValidationsRedeemableSkipped.md +3 -2
- data/docs/ValidationsValidateResponseBodyRedeemablesItem.md +3 -2
- data/docs/ValidationsValidateResponseBodyRedeemablesItemResultDiscount.md +1 -1
- data/docs/VoucherBalance.md +14 -0
- data/docs/VoucherBalanceRelatedObject.md +9 -0
- data/docs/VoucherLoyaltyCard.md +2 -1
- data/docs/VoucherTransaction.md +2 -2
- data/docs/VoucherTransactionDetails.md +2 -0
- data/docs/VoucherTransactionDetailsBalance.md +5 -4
- data/docs/VoucherTransactionDetailsBalanceRelatedObject.md +1 -1
- data/docs/VoucherTransactionDetailsCustomEvent.md +2 -2
- data/docs/VoucherTransactionDetailsEarningRule.md +1 -1
- data/docs/VoucherTransactionDetailsEventSchema.md +2 -2
- data/docs/VoucherTransactionDetailsHolderLoyaltyTier.md +9 -0
- data/docs/VoucherTransactionDetailsLoyaltyTier.md +2 -2
- data/docs/VoucherTransactionDetailsRollback.md +1 -1
- data/docs/VoucherTransactionDetailsSegment.md +2 -2
- data/docs/VoucherWithCategoriesLoyaltyCard.md +2 -1
- data/docs/VouchersApi.md +6 -6
- data/docs/VouchersBalanceUpdateResponseBody.md +1 -1
- data/docs/VouchersCreateResponseBodyLoyaltyCard.md +2 -1
- data/docs/VouchersDisableResponseBodyLoyaltyCard.md +2 -1
- data/docs/VouchersEnableResponseBodyLoyaltyCard.md +2 -1
- data/docs/VouchersGetResponseBodyLoyaltyCard.md +2 -1
- data/docs/VouchersUpdateResponseBodyLoyaltyCard.md +2 -1
- data/lib/VoucherifySdk/api/bin_api.rb +4 -4
- data/lib/VoucherifySdk/api/campaigns_api.rb +4 -4
- data/lib/VoucherifySdk/api/loyalties_api.rb +334 -8
- data/lib/VoucherifySdk/api/vouchers_api.rb +10 -10
- data/lib/VoucherifySdk/models/access_settings.rb +219 -0
- data/lib/VoucherifySdk/models/access_settings_assign.rb +238 -0
- data/lib/VoucherifySdk/models/access_settings_campaign_assignments_list.rb +1 -1
- data/lib/VoucherifySdk/models/access_settings_unassign.rb +238 -0
- data/lib/VoucherifySdk/models/applicable_to.rb +16 -3
- data/lib/VoucherifySdk/models/applicable_to_order_item_units_item.rb +220 -0
- data/lib/VoucherifySdk/models/application_details_item.rb +284 -0
- data/lib/VoucherifySdk/models/area_store_campaign_assignment.rb +12 -1
- data/lib/VoucherifySdk/models/campaign.rb +16 -16
- data/lib/VoucherifySdk/models/campaign_base.rb +16 -7
- data/lib/VoucherifySdk/models/campaigns_create_request_body.rb +11 -2
- data/lib/VoucherifySdk/models/campaigns_create_response_body.rb +16 -16
- data/lib/VoucherifySdk/models/campaigns_get_response_body.rb +16 -16
- data/lib/VoucherifySdk/models/campaigns_update_request_body.rb +12 -3
- data/lib/VoucherifySdk/models/campaigns_update_response_body.rb +16 -16
- data/lib/VoucherifySdk/models/campaigns_vouchers_create_combined_response_body_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/campaigns_vouchers_create_response_body_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/client_validations_validate_response_body_redeemables_item.rb +18 -7
- data/lib/VoucherifySdk/models/client_validations_validate_response_body_redeemables_item_result_discount.rb +1 -0
- data/lib/VoucherifySdk/models/customer_loyalty.rb +1 -1
- data/lib/VoucherifySdk/models/discount.rb +1 -0
- data/lib/VoucherifySdk/models/discount_unit_multiple_one_unit.rb +1 -0
- data/lib/VoucherifySdk/models/earning_rule.rb +11 -1
- data/lib/VoucherifySdk/models/earning_rule_pending_points.rb +257 -0
- data/lib/VoucherifySdk/models/error.rb +15 -5
- data/lib/VoucherifySdk/models/error_error.rb +210 -0
- data/lib/VoucherifySdk/models/event_source.rb +254 -0
- data/lib/VoucherifySdk/models/event_source_api_key.rb +221 -0
- data/lib/VoucherifySdk/models/event_source_user.rb +210 -0
- data/lib/VoucherifySdk/models/inapplicable_to.rb +16 -3
- data/lib/VoucherifySdk/models/inapplicable_to_order_item_units_item.rb +220 -0
- data/lib/VoucherifySdk/models/loyalties_create_campaign_request_body.rb +11 -2
- data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body.rb +11 -1
- data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_pending_points.rb +257 -0
- data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body.rb +11 -1
- data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_pending_points.rb +257 -0
- data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body.rb +11 -1
- data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_pending_points.rb +257 -0
- data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body.rb +11 -1
- data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_pending_points.rb +257 -0
- data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body.rb +11 -1
- data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_pending_points.rb +257 -0
- data/lib/VoucherifySdk/models/loyalties_members_balance_update_response_body.rb +1 -0
- data/lib/VoucherifySdk/models/loyalties_members_create_response_body_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/loyalties_members_get_response_body_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/loyalties_members_pending_points_activate_response_body.rb +309 -0
- data/lib/VoucherifySdk/models/loyalties_members_pending_points_activate_response_body_related_object.rb +247 -0
- data/lib/VoucherifySdk/models/loyalties_members_pending_points_list_response_body.rb +286 -0
- data/lib/VoucherifySdk/models/loyalties_members_points_expiration_list_response_body_data_item.rb +27 -77
- data/lib/VoucherifySdk/models/loyalties_members_points_expiration_list_response_body_data_item_bucket.rb +3 -9
- data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_voucher_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/loyalties_pending_points_list_response_body.rb +286 -0
- data/lib/VoucherifySdk/models/loyalties_update_campaign_request_body.rb +12 -3
- data/lib/VoucherifySdk/models/loyalty_card_transaction.rb +24 -31
- data/lib/VoucherifySdk/models/loyalty_card_transaction_details.rb +20 -2
- data/lib/VoucherifySdk/models/loyalty_card_transaction_details_balance.rb +18 -19
- data/lib/VoucherifySdk/models/loyalty_card_transaction_details_balance_related_object.rb +1 -7
- data/lib/VoucherifySdk/models/loyalty_card_transaction_details_earning_rule.rb +1 -1
- data/lib/VoucherifySdk/models/loyalty_card_transaction_details_holder_loyalty_tier.rb +221 -0
- data/lib/VoucherifySdk/models/loyalty_card_transaction_details_loyalty_tier.rb +3 -1
- data/lib/VoucherifySdk/models/loyalty_card_transactions_type.rb +2 -1
- data/lib/VoucherifySdk/models/loyalty_member_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/loyalty_pending_points.rb +314 -0
- data/lib/VoucherifySdk/models/loyalty_pending_points_details.rb +249 -0
- data/lib/VoucherifySdk/models/loyalty_pending_points_details_earning_rule.rb +220 -0
- data/lib/VoucherifySdk/models/loyalty_pending_points_details_earning_rule_source.rb +210 -0
- data/lib/VoucherifySdk/models/loyalty_pending_points_details_event.rb +302 -0
- data/lib/VoucherifySdk/models/loyalty_pending_points_details_holder_loyalty_tier.rb +221 -0
- data/lib/VoucherifySdk/models/loyalty_pending_points_details_loyalty_tier.rb +221 -0
- data/lib/VoucherifySdk/models/loyalty_pending_points_details_order.rb +221 -0
- data/lib/VoucherifySdk/models/loyalty_points_bucket.rb +323 -0
- data/lib/VoucherifySdk/models/loyalty_points_bucket_bucket.rb +210 -0
- data/lib/VoucherifySdk/models/loyalty_tier_expiration.rb +1 -1
- data/lib/VoucherifySdk/models/order.rb +3 -3
- data/lib/VoucherifySdk/models/order_calculated.rb +29 -29
- data/lib/VoucherifySdk/models/order_calculated_item.rb +18 -6
- data/lib/VoucherifySdk/models/order_calculated_item_product.rb +1 -1
- data/lib/VoucherifySdk/models/order_calculated_item_sku.rb +16 -5
- data/lib/VoucherifySdk/models/order_item.rb +1 -1
- data/lib/VoucherifySdk/models/order_item_product.rb +1 -1
- data/lib/VoucherifySdk/models/order_item_sku.rb +16 -5
- data/lib/VoucherifySdk/models/order_redemptions_entry.rb +1 -1
- data/lib/VoucherifySdk/models/orders_create_request_body.rb +3 -3
- data/lib/VoucherifySdk/models/orders_create_response_body.rb +29 -29
- data/lib/VoucherifySdk/models/orders_get_response_body.rb +29 -29
- data/lib/VoucherifySdk/models/orders_import_create_request_body_item.rb +3 -3
- data/lib/VoucherifySdk/models/orders_update_request_body.rb +3 -3
- data/lib/VoucherifySdk/models/orders_update_response_body.rb +29 -29
- data/lib/VoucherifySdk/models/parameter_expand_list_campaigns.rb +2 -1
- data/lib/VoucherifySdk/models/parameter_order_list_pending_points.rb +40 -0
- data/lib/VoucherifySdk/models/product.rb +1 -1
- data/lib/VoucherifySdk/models/product_collections_products_list_response_body_data_item.rb +1 -1
- data/lib/VoucherifySdk/models/product_without_skus.rb +1 -1
- data/lib/VoucherifySdk/models/products_create_response_body.rb +1 -1
- data/lib/VoucherifySdk/models/products_get_response_body.rb +1 -1
- data/lib/VoucherifySdk/models/products_skus_create_response_body.rb +1 -1
- data/lib/VoucherifySdk/models/products_skus_update_response_body.rb +1 -1
- data/lib/VoucherifySdk/models/products_update_response_body.rb +1 -1
- data/lib/VoucherifySdk/models/qualifications_option.rb +3 -3
- data/lib/VoucherifySdk/models/redeemable_loyalty_card.rb +1 -1
- data/lib/VoucherifySdk/models/redeemable_voucher_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/redemption_entry_order.rb +29 -29
- data/lib/VoucherifySdk/models/redemption_entry_voucher_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/redemption_voucher_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/redemptions_get_response_body_order.rb +29 -29
- data/lib/VoucherifySdk/models/redemptions_get_response_body_voucher_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_order.rb +28 -29
- data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_voucher_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/simple_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/sku.rb +1 -1
- data/lib/VoucherifySdk/models/skus_get_response_body.rb +1 -1
- data/lib/VoucherifySdk/models/templates_campaigns_campaign_setup_create_request_body.rb +11 -2
- data/lib/VoucherifySdk/models/validations_redeemable_inapplicable.rb +18 -7
- data/lib/VoucherifySdk/models/validations_redeemable_skipped.rb +18 -7
- data/lib/VoucherifySdk/models/validations_validate_response_body_redeemables_item.rb +18 -7
- data/lib/VoucherifySdk/models/validations_validate_response_body_redeemables_item_result_discount.rb +1 -0
- data/lib/VoucherifySdk/models/voucher_balance.rb +305 -0
- data/lib/VoucherifySdk/models/voucher_balance_related_object.rb +247 -0
- data/lib/VoucherifySdk/models/voucher_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/voucher_transaction.rb +27 -31
- data/lib/VoucherifySdk/models/voucher_transaction_details.rb +20 -2
- data/lib/VoucherifySdk/models/voucher_transaction_details_balance.rb +18 -19
- data/lib/VoucherifySdk/models/voucher_transaction_details_balance_related_object.rb +1 -7
- data/lib/VoucherifySdk/models/voucher_transaction_details_custom_event.rb +2 -2
- data/lib/VoucherifySdk/models/voucher_transaction_details_earning_rule.rb +1 -1
- data/lib/VoucherifySdk/models/voucher_transaction_details_event_schema.rb +2 -2
- data/lib/VoucherifySdk/models/voucher_transaction_details_holder_loyalty_tier.rb +221 -0
- data/lib/VoucherifySdk/models/voucher_transaction_details_loyalty_tier.rb +3 -1
- data/lib/VoucherifySdk/models/voucher_transaction_details_rollback.rb +1 -1
- data/lib/VoucherifySdk/models/voucher_transaction_details_segment.rb +2 -0
- data/lib/VoucherifySdk/models/voucher_with_categories_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/vouchers_balance_update_response_body.rb +1 -0
- data/lib/VoucherifySdk/models/vouchers_create_response_body_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/vouchers_disable_response_body_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/vouchers_enable_response_body_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/vouchers_get_response_body_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/models/vouchers_update_response_body_loyalty_card.rb +17 -6
- data/lib/VoucherifySdk/version.rb +1 -1
- data/lib/VoucherifySdk.rb +35 -0
- metadata +106 -36
@@ -16,7 +16,7 @@ require 'time'
|
|
16
16
|
module VoucherifySdk
|
17
17
|
# Object representing loyalty card parameters. Child attributes are present only if `type` is `LOYALTY_CARD`. Defaults to `null`.
|
18
18
|
class VoucherWithCategoriesLoyaltyCard
|
19
|
-
# Total points incurred over the lifespan of the loyalty card.
|
19
|
+
# Total points incurred over the lifespan of the loyalty card, minus the expired points.
|
20
20
|
attr_accessor :points
|
21
21
|
|
22
22
|
# Points available for reward redemption.
|
@@ -28,13 +28,17 @@ module VoucherifySdk
|
|
28
28
|
# The amount of points that are set to expire next.
|
29
29
|
attr_accessor :next_expiration_points
|
30
30
|
|
31
|
+
# Determines the number of pending points that will be added to the loyalty card after the predefined time.
|
32
|
+
attr_accessor :pending_points
|
33
|
+
|
31
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
35
|
def self.attribute_map
|
33
36
|
{
|
34
37
|
:'points' => :'points',
|
35
38
|
:'balance' => :'balance',
|
36
39
|
:'next_expiration_date' => :'next_expiration_date',
|
37
|
-
:'next_expiration_points' => :'next_expiration_points'
|
40
|
+
:'next_expiration_points' => :'next_expiration_points',
|
41
|
+
:'pending_points' => :'pending_points'
|
38
42
|
}
|
39
43
|
end
|
40
44
|
|
@@ -49,7 +53,8 @@ module VoucherifySdk
|
|
49
53
|
:'points' => :'Integer',
|
50
54
|
:'balance' => :'Integer',
|
51
55
|
:'next_expiration_date' => :'Date',
|
52
|
-
:'next_expiration_points' => :'Integer'
|
56
|
+
:'next_expiration_points' => :'Integer',
|
57
|
+
:'pending_points' => :'Integer'
|
53
58
|
}
|
54
59
|
end
|
55
60
|
|
@@ -59,7 +64,8 @@ module VoucherifySdk
|
|
59
64
|
:'points',
|
60
65
|
:'balance',
|
61
66
|
:'next_expiration_date',
|
62
|
-
:'next_expiration_points'
|
67
|
+
:'next_expiration_points',
|
68
|
+
:'pending_points'
|
63
69
|
])
|
64
70
|
end
|
65
71
|
|
@@ -86,6 +92,10 @@ module VoucherifySdk
|
|
86
92
|
if attributes.key?(:'next_expiration_points')
|
87
93
|
self.next_expiration_points = attributes[:'next_expiration_points']
|
88
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'pending_points')
|
97
|
+
self.pending_points = attributes[:'pending_points']
|
98
|
+
end
|
89
99
|
end
|
90
100
|
|
91
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -111,7 +121,8 @@ module VoucherifySdk
|
|
111
121
|
points == o.points &&
|
112
122
|
balance == o.balance &&
|
113
123
|
next_expiration_date == o.next_expiration_date &&
|
114
|
-
next_expiration_points == o.next_expiration_points
|
124
|
+
next_expiration_points == o.next_expiration_points &&
|
125
|
+
pending_points == o.pending_points
|
115
126
|
end
|
116
127
|
|
117
128
|
# @see the `==` method
|
@@ -123,7 +134,7 @@ module VoucherifySdk
|
|
123
134
|
# Calculates hash code according to all attributes.
|
124
135
|
# @return [Integer] Hash code
|
125
136
|
def hash
|
126
|
-
[points, balance, next_expiration_date, next_expiration_points].hash
|
137
|
+
[points, balance, next_expiration_date, next_expiration_points, pending_points].hash
|
127
138
|
end
|
128
139
|
|
129
140
|
# Builds the object from hash
|
@@ -16,7 +16,7 @@ require 'time'
|
|
16
16
|
module VoucherifySdk
|
17
17
|
# Object representing loyalty card parameters. Child attributes are present only if `type` is `LOYALTY_CARD`. Defaults to `null`.
|
18
18
|
class VouchersCreateResponseBodyLoyaltyCard
|
19
|
-
# Total points incurred over the lifespan of the loyalty card.
|
19
|
+
# Total points incurred over the lifespan of the loyalty card, minus the expired points.
|
20
20
|
attr_accessor :points
|
21
21
|
|
22
22
|
# Points available for reward redemption.
|
@@ -28,13 +28,17 @@ module VoucherifySdk
|
|
28
28
|
# The amount of points that are set to expire next.
|
29
29
|
attr_accessor :next_expiration_points
|
30
30
|
|
31
|
+
# Determines the number of pending points that will be added to the loyalty card after the predefined time.
|
32
|
+
attr_accessor :pending_points
|
33
|
+
|
31
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
35
|
def self.attribute_map
|
33
36
|
{
|
34
37
|
:'points' => :'points',
|
35
38
|
:'balance' => :'balance',
|
36
39
|
:'next_expiration_date' => :'next_expiration_date',
|
37
|
-
:'next_expiration_points' => :'next_expiration_points'
|
40
|
+
:'next_expiration_points' => :'next_expiration_points',
|
41
|
+
:'pending_points' => :'pending_points'
|
38
42
|
}
|
39
43
|
end
|
40
44
|
|
@@ -49,7 +53,8 @@ module VoucherifySdk
|
|
49
53
|
:'points' => :'Integer',
|
50
54
|
:'balance' => :'Integer',
|
51
55
|
:'next_expiration_date' => :'Date',
|
52
|
-
:'next_expiration_points' => :'Integer'
|
56
|
+
:'next_expiration_points' => :'Integer',
|
57
|
+
:'pending_points' => :'Integer'
|
53
58
|
}
|
54
59
|
end
|
55
60
|
|
@@ -59,7 +64,8 @@ module VoucherifySdk
|
|
59
64
|
:'points',
|
60
65
|
:'balance',
|
61
66
|
:'next_expiration_date',
|
62
|
-
:'next_expiration_points'
|
67
|
+
:'next_expiration_points',
|
68
|
+
:'pending_points'
|
63
69
|
])
|
64
70
|
end
|
65
71
|
|
@@ -86,6 +92,10 @@ module VoucherifySdk
|
|
86
92
|
if attributes.key?(:'next_expiration_points')
|
87
93
|
self.next_expiration_points = attributes[:'next_expiration_points']
|
88
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'pending_points')
|
97
|
+
self.pending_points = attributes[:'pending_points']
|
98
|
+
end
|
89
99
|
end
|
90
100
|
|
91
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -111,7 +121,8 @@ module VoucherifySdk
|
|
111
121
|
points == o.points &&
|
112
122
|
balance == o.balance &&
|
113
123
|
next_expiration_date == o.next_expiration_date &&
|
114
|
-
next_expiration_points == o.next_expiration_points
|
124
|
+
next_expiration_points == o.next_expiration_points &&
|
125
|
+
pending_points == o.pending_points
|
115
126
|
end
|
116
127
|
|
117
128
|
# @see the `==` method
|
@@ -123,7 +134,7 @@ module VoucherifySdk
|
|
123
134
|
# Calculates hash code according to all attributes.
|
124
135
|
# @return [Integer] Hash code
|
125
136
|
def hash
|
126
|
-
[points, balance, next_expiration_date, next_expiration_points].hash
|
137
|
+
[points, balance, next_expiration_date, next_expiration_points, pending_points].hash
|
127
138
|
end
|
128
139
|
|
129
140
|
# Builds the object from hash
|
@@ -16,7 +16,7 @@ require 'time'
|
|
16
16
|
module VoucherifySdk
|
17
17
|
# Object representing loyalty card parameters. Child attributes are present only if `type` is `LOYALTY_CARD`. Defaults to `null`.
|
18
18
|
class VouchersDisableResponseBodyLoyaltyCard
|
19
|
-
# Total points incurred over the lifespan of the loyalty card.
|
19
|
+
# Total points incurred over the lifespan of the loyalty card, minus the expired points.
|
20
20
|
attr_accessor :points
|
21
21
|
|
22
22
|
# Points available for reward redemption.
|
@@ -28,13 +28,17 @@ module VoucherifySdk
|
|
28
28
|
# The amount of points that are set to expire next.
|
29
29
|
attr_accessor :next_expiration_points
|
30
30
|
|
31
|
+
# Determines the number of pending points that will be added to the loyalty card after the predefined time.
|
32
|
+
attr_accessor :pending_points
|
33
|
+
|
31
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
35
|
def self.attribute_map
|
33
36
|
{
|
34
37
|
:'points' => :'points',
|
35
38
|
:'balance' => :'balance',
|
36
39
|
:'next_expiration_date' => :'next_expiration_date',
|
37
|
-
:'next_expiration_points' => :'next_expiration_points'
|
40
|
+
:'next_expiration_points' => :'next_expiration_points',
|
41
|
+
:'pending_points' => :'pending_points'
|
38
42
|
}
|
39
43
|
end
|
40
44
|
|
@@ -49,7 +53,8 @@ module VoucherifySdk
|
|
49
53
|
:'points' => :'Integer',
|
50
54
|
:'balance' => :'Integer',
|
51
55
|
:'next_expiration_date' => :'Date',
|
52
|
-
:'next_expiration_points' => :'Integer'
|
56
|
+
:'next_expiration_points' => :'Integer',
|
57
|
+
:'pending_points' => :'Integer'
|
53
58
|
}
|
54
59
|
end
|
55
60
|
|
@@ -59,7 +64,8 @@ module VoucherifySdk
|
|
59
64
|
:'points',
|
60
65
|
:'balance',
|
61
66
|
:'next_expiration_date',
|
62
|
-
:'next_expiration_points'
|
67
|
+
:'next_expiration_points',
|
68
|
+
:'pending_points'
|
63
69
|
])
|
64
70
|
end
|
65
71
|
|
@@ -86,6 +92,10 @@ module VoucherifySdk
|
|
86
92
|
if attributes.key?(:'next_expiration_points')
|
87
93
|
self.next_expiration_points = attributes[:'next_expiration_points']
|
88
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'pending_points')
|
97
|
+
self.pending_points = attributes[:'pending_points']
|
98
|
+
end
|
89
99
|
end
|
90
100
|
|
91
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -111,7 +121,8 @@ module VoucherifySdk
|
|
111
121
|
points == o.points &&
|
112
122
|
balance == o.balance &&
|
113
123
|
next_expiration_date == o.next_expiration_date &&
|
114
|
-
next_expiration_points == o.next_expiration_points
|
124
|
+
next_expiration_points == o.next_expiration_points &&
|
125
|
+
pending_points == o.pending_points
|
115
126
|
end
|
116
127
|
|
117
128
|
# @see the `==` method
|
@@ -123,7 +134,7 @@ module VoucherifySdk
|
|
123
134
|
# Calculates hash code according to all attributes.
|
124
135
|
# @return [Integer] Hash code
|
125
136
|
def hash
|
126
|
-
[points, balance, next_expiration_date, next_expiration_points].hash
|
137
|
+
[points, balance, next_expiration_date, next_expiration_points, pending_points].hash
|
127
138
|
end
|
128
139
|
|
129
140
|
# Builds the object from hash
|
@@ -16,7 +16,7 @@ require 'time'
|
|
16
16
|
module VoucherifySdk
|
17
17
|
# Object representing loyalty card parameters. Child attributes are present only if `type` is `LOYALTY_CARD`. Defaults to `null`.
|
18
18
|
class VouchersEnableResponseBodyLoyaltyCard
|
19
|
-
# Total points incurred over the lifespan of the loyalty card.
|
19
|
+
# Total points incurred over the lifespan of the loyalty card, minus the expired points.
|
20
20
|
attr_accessor :points
|
21
21
|
|
22
22
|
# Points available for reward redemption.
|
@@ -28,13 +28,17 @@ module VoucherifySdk
|
|
28
28
|
# The amount of points that are set to expire next.
|
29
29
|
attr_accessor :next_expiration_points
|
30
30
|
|
31
|
+
# Determines the number of pending points that will be added to the loyalty card after the predefined time.
|
32
|
+
attr_accessor :pending_points
|
33
|
+
|
31
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
35
|
def self.attribute_map
|
33
36
|
{
|
34
37
|
:'points' => :'points',
|
35
38
|
:'balance' => :'balance',
|
36
39
|
:'next_expiration_date' => :'next_expiration_date',
|
37
|
-
:'next_expiration_points' => :'next_expiration_points'
|
40
|
+
:'next_expiration_points' => :'next_expiration_points',
|
41
|
+
:'pending_points' => :'pending_points'
|
38
42
|
}
|
39
43
|
end
|
40
44
|
|
@@ -49,7 +53,8 @@ module VoucherifySdk
|
|
49
53
|
:'points' => :'Integer',
|
50
54
|
:'balance' => :'Integer',
|
51
55
|
:'next_expiration_date' => :'Date',
|
52
|
-
:'next_expiration_points' => :'Integer'
|
56
|
+
:'next_expiration_points' => :'Integer',
|
57
|
+
:'pending_points' => :'Integer'
|
53
58
|
}
|
54
59
|
end
|
55
60
|
|
@@ -59,7 +64,8 @@ module VoucherifySdk
|
|
59
64
|
:'points',
|
60
65
|
:'balance',
|
61
66
|
:'next_expiration_date',
|
62
|
-
:'next_expiration_points'
|
67
|
+
:'next_expiration_points',
|
68
|
+
:'pending_points'
|
63
69
|
])
|
64
70
|
end
|
65
71
|
|
@@ -86,6 +92,10 @@ module VoucherifySdk
|
|
86
92
|
if attributes.key?(:'next_expiration_points')
|
87
93
|
self.next_expiration_points = attributes[:'next_expiration_points']
|
88
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'pending_points')
|
97
|
+
self.pending_points = attributes[:'pending_points']
|
98
|
+
end
|
89
99
|
end
|
90
100
|
|
91
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -111,7 +121,8 @@ module VoucherifySdk
|
|
111
121
|
points == o.points &&
|
112
122
|
balance == o.balance &&
|
113
123
|
next_expiration_date == o.next_expiration_date &&
|
114
|
-
next_expiration_points == o.next_expiration_points
|
124
|
+
next_expiration_points == o.next_expiration_points &&
|
125
|
+
pending_points == o.pending_points
|
115
126
|
end
|
116
127
|
|
117
128
|
# @see the `==` method
|
@@ -123,7 +134,7 @@ module VoucherifySdk
|
|
123
134
|
# Calculates hash code according to all attributes.
|
124
135
|
# @return [Integer] Hash code
|
125
136
|
def hash
|
126
|
-
[points, balance, next_expiration_date, next_expiration_points].hash
|
137
|
+
[points, balance, next_expiration_date, next_expiration_points, pending_points].hash
|
127
138
|
end
|
128
139
|
|
129
140
|
# Builds the object from hash
|
@@ -16,7 +16,7 @@ require 'time'
|
|
16
16
|
module VoucherifySdk
|
17
17
|
# Object representing loyalty card parameters. Child attributes are present only if `type` is `LOYALTY_CARD`. Defaults to `null`.
|
18
18
|
class VouchersGetResponseBodyLoyaltyCard
|
19
|
-
# Total points incurred over the lifespan of the loyalty card.
|
19
|
+
# Total points incurred over the lifespan of the loyalty card, minus the expired points.
|
20
20
|
attr_accessor :points
|
21
21
|
|
22
22
|
# Points available for reward redemption.
|
@@ -28,13 +28,17 @@ module VoucherifySdk
|
|
28
28
|
# The amount of points that are set to expire next.
|
29
29
|
attr_accessor :next_expiration_points
|
30
30
|
|
31
|
+
# Determines the number of pending points that will be added to the loyalty card after the predefined time.
|
32
|
+
attr_accessor :pending_points
|
33
|
+
|
31
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
35
|
def self.attribute_map
|
33
36
|
{
|
34
37
|
:'points' => :'points',
|
35
38
|
:'balance' => :'balance',
|
36
39
|
:'next_expiration_date' => :'next_expiration_date',
|
37
|
-
:'next_expiration_points' => :'next_expiration_points'
|
40
|
+
:'next_expiration_points' => :'next_expiration_points',
|
41
|
+
:'pending_points' => :'pending_points'
|
38
42
|
}
|
39
43
|
end
|
40
44
|
|
@@ -49,7 +53,8 @@ module VoucherifySdk
|
|
49
53
|
:'points' => :'Integer',
|
50
54
|
:'balance' => :'Integer',
|
51
55
|
:'next_expiration_date' => :'Date',
|
52
|
-
:'next_expiration_points' => :'Integer'
|
56
|
+
:'next_expiration_points' => :'Integer',
|
57
|
+
:'pending_points' => :'Integer'
|
53
58
|
}
|
54
59
|
end
|
55
60
|
|
@@ -59,7 +64,8 @@ module VoucherifySdk
|
|
59
64
|
:'points',
|
60
65
|
:'balance',
|
61
66
|
:'next_expiration_date',
|
62
|
-
:'next_expiration_points'
|
67
|
+
:'next_expiration_points',
|
68
|
+
:'pending_points'
|
63
69
|
])
|
64
70
|
end
|
65
71
|
|
@@ -86,6 +92,10 @@ module VoucherifySdk
|
|
86
92
|
if attributes.key?(:'next_expiration_points')
|
87
93
|
self.next_expiration_points = attributes[:'next_expiration_points']
|
88
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'pending_points')
|
97
|
+
self.pending_points = attributes[:'pending_points']
|
98
|
+
end
|
89
99
|
end
|
90
100
|
|
91
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -111,7 +121,8 @@ module VoucherifySdk
|
|
111
121
|
points == o.points &&
|
112
122
|
balance == o.balance &&
|
113
123
|
next_expiration_date == o.next_expiration_date &&
|
114
|
-
next_expiration_points == o.next_expiration_points
|
124
|
+
next_expiration_points == o.next_expiration_points &&
|
125
|
+
pending_points == o.pending_points
|
115
126
|
end
|
116
127
|
|
117
128
|
# @see the `==` method
|
@@ -123,7 +134,7 @@ module VoucherifySdk
|
|
123
134
|
# Calculates hash code according to all attributes.
|
124
135
|
# @return [Integer] Hash code
|
125
136
|
def hash
|
126
|
-
[points, balance, next_expiration_date, next_expiration_points].hash
|
137
|
+
[points, balance, next_expiration_date, next_expiration_points, pending_points].hash
|
127
138
|
end
|
128
139
|
|
129
140
|
# Builds the object from hash
|
@@ -16,7 +16,7 @@ require 'time'
|
|
16
16
|
module VoucherifySdk
|
17
17
|
# Object representing loyalty card parameters. Child attributes are present only if `type` is `LOYALTY_CARD`. Defaults to `null`.
|
18
18
|
class VouchersUpdateResponseBodyLoyaltyCard
|
19
|
-
# Total points incurred over the lifespan of the loyalty card.
|
19
|
+
# Total points incurred over the lifespan of the loyalty card, minus the expired points.
|
20
20
|
attr_accessor :points
|
21
21
|
|
22
22
|
# Points available for reward redemption.
|
@@ -28,13 +28,17 @@ module VoucherifySdk
|
|
28
28
|
# The amount of points that are set to expire next.
|
29
29
|
attr_accessor :next_expiration_points
|
30
30
|
|
31
|
+
# Determines the number of pending points that will be added to the loyalty card after the predefined time.
|
32
|
+
attr_accessor :pending_points
|
33
|
+
|
31
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
35
|
def self.attribute_map
|
33
36
|
{
|
34
37
|
:'points' => :'points',
|
35
38
|
:'balance' => :'balance',
|
36
39
|
:'next_expiration_date' => :'next_expiration_date',
|
37
|
-
:'next_expiration_points' => :'next_expiration_points'
|
40
|
+
:'next_expiration_points' => :'next_expiration_points',
|
41
|
+
:'pending_points' => :'pending_points'
|
38
42
|
}
|
39
43
|
end
|
40
44
|
|
@@ -49,7 +53,8 @@ module VoucherifySdk
|
|
49
53
|
:'points' => :'Integer',
|
50
54
|
:'balance' => :'Integer',
|
51
55
|
:'next_expiration_date' => :'Date',
|
52
|
-
:'next_expiration_points' => :'Integer'
|
56
|
+
:'next_expiration_points' => :'Integer',
|
57
|
+
:'pending_points' => :'Integer'
|
53
58
|
}
|
54
59
|
end
|
55
60
|
|
@@ -59,7 +64,8 @@ module VoucherifySdk
|
|
59
64
|
:'points',
|
60
65
|
:'balance',
|
61
66
|
:'next_expiration_date',
|
62
|
-
:'next_expiration_points'
|
67
|
+
:'next_expiration_points',
|
68
|
+
:'pending_points'
|
63
69
|
])
|
64
70
|
end
|
65
71
|
|
@@ -86,6 +92,10 @@ module VoucherifySdk
|
|
86
92
|
if attributes.key?(:'next_expiration_points')
|
87
93
|
self.next_expiration_points = attributes[:'next_expiration_points']
|
88
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'pending_points')
|
97
|
+
self.pending_points = attributes[:'pending_points']
|
98
|
+
end
|
89
99
|
end
|
90
100
|
|
91
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -111,7 +121,8 @@ module VoucherifySdk
|
|
111
121
|
points == o.points &&
|
112
122
|
balance == o.balance &&
|
113
123
|
next_expiration_date == o.next_expiration_date &&
|
114
|
-
next_expiration_points == o.next_expiration_points
|
124
|
+
next_expiration_points == o.next_expiration_points &&
|
125
|
+
pending_points == o.pending_points
|
115
126
|
end
|
116
127
|
|
117
128
|
# @see the `==` method
|
@@ -123,7 +134,7 @@ module VoucherifySdk
|
|
123
134
|
# Calculates hash code according to all attributes.
|
124
135
|
# @return [Integer] Hash code
|
125
136
|
def hash
|
126
|
-
[points, balance, next_expiration_date, next_expiration_points].hash
|
137
|
+
[points, balance, next_expiration_date, next_expiration_points, pending_points].hash
|
127
138
|
end
|
128
139
|
|
129
140
|
# Builds the object from hash
|
data/lib/VoucherifySdk.rb
CHANGED
@@ -17,10 +17,15 @@ require 'VoucherifySdk/version'
|
|
17
17
|
require 'VoucherifySdk/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
+
require 'VoucherifySdk/models/access_settings'
|
21
|
+
require 'VoucherifySdk/models/access_settings_assign'
|
20
22
|
require 'VoucherifySdk/models/access_settings_campaign_assignments_list'
|
23
|
+
require 'VoucherifySdk/models/access_settings_unassign'
|
21
24
|
require 'VoucherifySdk/models/applicable_to'
|
22
25
|
require 'VoucherifySdk/models/applicable_to_effect'
|
26
|
+
require 'VoucherifySdk/models/applicable_to_order_item_units_item'
|
23
27
|
require 'VoucherifySdk/models/applicable_to_result_list'
|
28
|
+
require 'VoucherifySdk/models/application_details_item'
|
24
29
|
require 'VoucherifySdk/models/area_store_campaign_assignment'
|
25
30
|
require 'VoucherifySdk/models/async_action_base'
|
26
31
|
require 'VoucherifySdk/models/async_action_get_response_body'
|
@@ -163,9 +168,14 @@ require 'VoucherifySdk/models/earning_rule_loyalty_order_items_subtotal_amount'
|
|
163
168
|
require 'VoucherifySdk/models/earning_rule_loyalty_order_metadata'
|
164
169
|
require 'VoucherifySdk/models/earning_rule_loyalty_order_total_amount'
|
165
170
|
require 'VoucherifySdk/models/earning_rule_loyalty_tier'
|
171
|
+
require 'VoucherifySdk/models/earning_rule_pending_points'
|
166
172
|
require 'VoucherifySdk/models/earning_rule_segment'
|
167
173
|
require 'VoucherifySdk/models/earning_rule_source'
|
168
174
|
require 'VoucherifySdk/models/error'
|
175
|
+
require 'VoucherifySdk/models/error_error'
|
176
|
+
require 'VoucherifySdk/models/event_source'
|
177
|
+
require 'VoucherifySdk/models/event_source_api_key'
|
178
|
+
require 'VoucherifySdk/models/event_source_user'
|
169
179
|
require 'VoucherifySdk/models/events_create_request_body'
|
170
180
|
require 'VoucherifySdk/models/events_create_request_body_loyalty'
|
171
181
|
require 'VoucherifySdk/models/events_create_request_body_referral'
|
@@ -192,6 +202,7 @@ require 'VoucherifySdk/models/filter_conditions_string'
|
|
192
202
|
require 'VoucherifySdk/models/filters_condition'
|
193
203
|
require 'VoucherifySdk/models/gift'
|
194
204
|
require 'VoucherifySdk/models/inapplicable_to'
|
205
|
+
require 'VoucherifySdk/models/inapplicable_to_order_item_units_item'
|
195
206
|
require 'VoucherifySdk/models/inapplicable_to_result_list'
|
196
207
|
require 'VoucherifySdk/models/junction'
|
197
208
|
require 'VoucherifySdk/models/list_publications_item_voucher'
|
@@ -241,6 +252,7 @@ require 'VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyal
|
|
241
252
|
require 'VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_order_metadata'
|
242
253
|
require 'VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_order_total_amount'
|
243
254
|
require 'VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_tier'
|
255
|
+
require 'VoucherifySdk/models/loyalties_earning_rules_create_response_body_pending_points'
|
244
256
|
require 'VoucherifySdk/models/loyalties_earning_rules_create_response_body_segment'
|
245
257
|
require 'VoucherifySdk/models/loyalties_earning_rules_create_response_body_source'
|
246
258
|
require 'VoucherifySdk/models/loyalties_earning_rules_disable_response_body'
|
@@ -259,6 +271,7 @@ require 'VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loya
|
|
259
271
|
require 'VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_order_metadata'
|
260
272
|
require 'VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_order_total_amount'
|
261
273
|
require 'VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_tier'
|
274
|
+
require 'VoucherifySdk/models/loyalties_earning_rules_disable_response_body_pending_points'
|
262
275
|
require 'VoucherifySdk/models/loyalties_earning_rules_disable_response_body_segment'
|
263
276
|
require 'VoucherifySdk/models/loyalties_earning_rules_disable_response_body_source'
|
264
277
|
require 'VoucherifySdk/models/loyalties_earning_rules_enable_response_body'
|
@@ -277,6 +290,7 @@ require 'VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyal
|
|
277
290
|
require 'VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_order_metadata'
|
278
291
|
require 'VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_order_total_amount'
|
279
292
|
require 'VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_tier'
|
293
|
+
require 'VoucherifySdk/models/loyalties_earning_rules_enable_response_body_pending_points'
|
280
294
|
require 'VoucherifySdk/models/loyalties_earning_rules_enable_response_body_segment'
|
281
295
|
require 'VoucherifySdk/models/loyalties_earning_rules_enable_response_body_source'
|
282
296
|
require 'VoucherifySdk/models/loyalties_earning_rules_get_response_body'
|
@@ -295,6 +309,7 @@ require 'VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_
|
|
295
309
|
require 'VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_order_metadata'
|
296
310
|
require 'VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_order_total_amount'
|
297
311
|
require 'VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_tier'
|
312
|
+
require 'VoucherifySdk/models/loyalties_earning_rules_get_response_body_pending_points'
|
298
313
|
require 'VoucherifySdk/models/loyalties_earning_rules_get_response_body_segment'
|
299
314
|
require 'VoucherifySdk/models/loyalties_earning_rules_get_response_body_source'
|
300
315
|
require 'VoucherifySdk/models/loyalties_earning_rules_list_response_body'
|
@@ -329,6 +344,7 @@ require 'VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyal
|
|
329
344
|
require 'VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_order_metadata'
|
330
345
|
require 'VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_order_total_amount'
|
331
346
|
require 'VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_tier'
|
347
|
+
require 'VoucherifySdk/models/loyalties_earning_rules_update_response_body_pending_points'
|
332
348
|
require 'VoucherifySdk/models/loyalties_earning_rules_update_response_body_segment'
|
333
349
|
require 'VoucherifySdk/models/loyalties_earning_rules_update_response_body_source'
|
334
350
|
require 'VoucherifySdk/models/loyalties_get_campaign_response_body'
|
@@ -348,6 +364,9 @@ require 'VoucherifySdk/models/loyalties_members_get_response_body'
|
|
348
364
|
require 'VoucherifySdk/models/loyalties_members_get_response_body_loyalty_card'
|
349
365
|
require 'VoucherifySdk/models/loyalties_members_get_response_body_publish'
|
350
366
|
require 'VoucherifySdk/models/loyalties_members_get_response_body_redemption'
|
367
|
+
require 'VoucherifySdk/models/loyalties_members_pending_points_activate_response_body'
|
368
|
+
require 'VoucherifySdk/models/loyalties_members_pending_points_activate_response_body_related_object'
|
369
|
+
require 'VoucherifySdk/models/loyalties_members_pending_points_list_response_body'
|
351
370
|
require 'VoucherifySdk/models/loyalties_members_points_expiration_list_response_body'
|
352
371
|
require 'VoucherifySdk/models/loyalties_members_points_expiration_list_response_body_data_item'
|
353
372
|
require 'VoucherifySdk/models/loyalties_members_points_expiration_list_response_body_data_item_bucket'
|
@@ -380,6 +399,7 @@ require 'VoucherifySdk/models/loyalties_members_transfers_create_response_body_a
|
|
380
399
|
require 'VoucherifySdk/models/loyalties_members_transfers_create_response_body_loyalty_card'
|
381
400
|
require 'VoucherifySdk/models/loyalties_members_transfers_create_response_body_publish'
|
382
401
|
require 'VoucherifySdk/models/loyalties_members_transfers_create_response_body_redemption'
|
402
|
+
require 'VoucherifySdk/models/loyalties_pending_points_list_response_body'
|
383
403
|
require 'VoucherifySdk/models/loyalties_points_expiration_export_create_request_body'
|
384
404
|
require 'VoucherifySdk/models/loyalties_points_expiration_export_create_request_body_parameters'
|
385
405
|
require 'VoucherifySdk/models/loyalties_points_expiration_export_create_request_body_parameters_filters'
|
@@ -440,6 +460,7 @@ require 'VoucherifySdk/models/loyalty_card_transaction_details_earning_rule'
|
|
440
460
|
require 'VoucherifySdk/models/loyalty_card_transaction_details_earning_rule_source'
|
441
461
|
require 'VoucherifySdk/models/loyalty_card_transaction_details_event'
|
442
462
|
require 'VoucherifySdk/models/loyalty_card_transaction_details_event_schema'
|
463
|
+
require 'VoucherifySdk/models/loyalty_card_transaction_details_holder_loyalty_tier'
|
443
464
|
require 'VoucherifySdk/models/loyalty_card_transaction_details_loyalty_tier'
|
444
465
|
require 'VoucherifySdk/models/loyalty_card_transaction_details_order'
|
445
466
|
require 'VoucherifySdk/models/loyalty_card_transaction_details_redemption'
|
@@ -451,6 +472,16 @@ require 'VoucherifySdk/models/loyalty_member'
|
|
451
472
|
require 'VoucherifySdk/models/loyalty_member_loyalty_card'
|
452
473
|
require 'VoucherifySdk/models/loyalty_member_publish'
|
453
474
|
require 'VoucherifySdk/models/loyalty_member_redemption'
|
475
|
+
require 'VoucherifySdk/models/loyalty_pending_points'
|
476
|
+
require 'VoucherifySdk/models/loyalty_pending_points_details'
|
477
|
+
require 'VoucherifySdk/models/loyalty_pending_points_details_earning_rule'
|
478
|
+
require 'VoucherifySdk/models/loyalty_pending_points_details_earning_rule_source'
|
479
|
+
require 'VoucherifySdk/models/loyalty_pending_points_details_event'
|
480
|
+
require 'VoucherifySdk/models/loyalty_pending_points_details_holder_loyalty_tier'
|
481
|
+
require 'VoucherifySdk/models/loyalty_pending_points_details_loyalty_tier'
|
482
|
+
require 'VoucherifySdk/models/loyalty_pending_points_details_order'
|
483
|
+
require 'VoucherifySdk/models/loyalty_points_bucket'
|
484
|
+
require 'VoucherifySdk/models/loyalty_points_bucket_bucket'
|
454
485
|
require 'VoucherifySdk/models/loyalty_tier'
|
455
486
|
require 'VoucherifySdk/models/loyalty_tier_base'
|
456
487
|
require 'VoucherifySdk/models/loyalty_tier_base_points'
|
@@ -691,6 +722,7 @@ require 'VoucherifySdk/models/parameter_order_list_exports'
|
|
691
722
|
require 'VoucherifySdk/models/parameter_order_list_locations'
|
692
723
|
require 'VoucherifySdk/models/parameter_order_list_loyalty_tiers'
|
693
724
|
require 'VoucherifySdk/models/parameter_order_list_orders'
|
725
|
+
require 'VoucherifySdk/models/parameter_order_list_pending_points'
|
694
726
|
require 'VoucherifySdk/models/parameter_order_list_promotion_tiers'
|
695
727
|
require 'VoucherifySdk/models/parameter_order_list_promotion_tiers_client_side'
|
696
728
|
require 'VoucherifySdk/models/parameter_order_list_publications'
|
@@ -1068,6 +1100,8 @@ require 'VoucherifySdk/models/voucher'
|
|
1068
1100
|
require 'VoucherifySdk/models/voucher_assets'
|
1069
1101
|
require 'VoucherifySdk/models/voucher_assets_barcode'
|
1070
1102
|
require 'VoucherifySdk/models/voucher_assets_qr'
|
1103
|
+
require 'VoucherifySdk/models/voucher_balance'
|
1104
|
+
require 'VoucherifySdk/models/voucher_balance_related_object'
|
1071
1105
|
require 'VoucherifySdk/models/voucher_gift'
|
1072
1106
|
require 'VoucherifySdk/models/voucher_loyalty_card'
|
1073
1107
|
require 'VoucherifySdk/models/voucher_publish'
|
@@ -1081,6 +1115,7 @@ require 'VoucherifySdk/models/voucher_transaction_details_earning_rule'
|
|
1081
1115
|
require 'VoucherifySdk/models/voucher_transaction_details_earning_rule_source'
|
1082
1116
|
require 'VoucherifySdk/models/voucher_transaction_details_event'
|
1083
1117
|
require 'VoucherifySdk/models/voucher_transaction_details_event_schema'
|
1118
|
+
require 'VoucherifySdk/models/voucher_transaction_details_holder_loyalty_tier'
|
1084
1119
|
require 'VoucherifySdk/models/voucher_transaction_details_loyalty_tier'
|
1085
1120
|
require 'VoucherifySdk/models/voucher_transaction_details_order'
|
1086
1121
|
require 'VoucherifySdk/models/voucher_transaction_details_redemption'
|