Sha256: 04ae1950eb94891bba2a20adfe231c77b077fd0925290943421747cd93487306
Contents?: true
Size: 930 Bytes
Versions: 1
Compression:
Stored size: 930 Bytes
Contents
module Gemgento module API module SOAP class GiftCard def self.check(code) MagentoApi.create_call(:giftcard_check, code: code) end def self.history(code) MagentoApi.create_call(:giftcard_history, code: code) end def self.create(data) MagentoApi.create_call(:giftcard_create, data: data) end def self.update(code, data) MagentoApi.create_call(:giftcard_update, code: code, data: data) end def self.quote_add(quote_id, code, store_id) message = { quote_id: quote_id, code: code, store_id: store_id } MagentoApi.create_call(:giftcard_quote_add, message) end def self.quote_remove(quote_id, code, store_id) message = { quote_id: quote_id, code: code } MagentoApi.create_call(:giftcard_quote_remove, message) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gemgento-2.8.0 | lib/gemgento/api/soap/gift_card.rb |