Sha256: 58236d7a8254135579e01f411b31c9dee7e470095ce022948decef25a07fbec2

Contents?: true

Size: 1.07 KB

Versions: 5

Compression:

Stored size: 1.07 KB

Contents

{:status=>"APPLICABLE", :object=>"voucher", :order=>{:amount=>20000, :items_discount_amount=>1000, :total_discount_amount=>1000, :total_amount=>19000, :items_applied_discount_amount=>1000, :total_applied_discount_amount=>1000, :items=>[{:product_id=>"prod_0f14837efe461b857c", :related_object=>"product", :quantity=>1, :discount_quantity=>1, :amount=>20000, :discount_amount=>1000, :applied_discount_amount=>1000, :price=>20000, :subtotal_amount=>19000, :product=>{:id=>"prod_0f14837efe461b857c"}, :object=>"order_item"}], :metadata=>{}, :customer_id=>"cust_KoSWCY2IYrWAYouZ9RvBQI7c", :referrer_id=>nil, :object=>"order", :customer=>{:id=>"cust_KoSWCY2IYrWAYouZ9RvBQI7c", :object=>"customer"}}, :applicable_to=>{:data=>[{:object=>"product", :id=>"prod_0f14837efe461b857c", :strict=>false, :effect=>"APPLY_TO_EVERY", :order_item_indices=>[0]}], :total=>1, :object=>"list", :data_ref=>"data"}, :inapplicable_to=>{:data=>[], :total=>0, :object=>"list", :data_ref=>"data"}, :result=>{:discount=>{:type=>"AMOUNT", :amount_off=>1000.0, :effect=>"APPLY_TO_ITEMS", :is_dynamic=>false}}, :metadata=>{}}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
voucherify-8.0.2 __tests__/spec/snapshots/validations/redeemable_items_necessary_keys.snap
voucherify-8.0.1 __tests__/spec/snapshots/validations/redeemable_items_necessary_keys.snap
voucherify-8.0.0 __tests__/spec/snapshots/validations/redeemable_items_necessary_keys.snap
voucherify-7.0.0 __tests__/spec/snapshots/validations/redeemable_items_necessary_keys.snap
voucherify-6.0.0 __tests__/spec/snapshots/validations/redeemable_items_necessary_keys.snap