Module: PayPal::SDK::ButtonManagerRails::Services
Instance Method Summary collapse
-
#BMButtonSearch(options = {}, http_header = {}) ⇒ Object
(also: #bm_button_search)
Service Call: BMButtonSearch.
-
#BMCreateButton(options = {}, http_header = {}) ⇒ Object
(also: #bm_create_button)
Service Call: BMCreateButton.
-
#BMGetButtonDetails(options = {}, http_header = {}) ⇒ Object
(also: #bm_get_button_details)
Service Call: BMGetButtonDetails.
-
#BMGetInventory(options = {}, http_header = {}) ⇒ Object
(also: #bm_get_inventory)
Service Call: BMGetInventory.
-
#BMManageButtonStatus(options = {}, http_header = {}) ⇒ Object
(also: #bm_manage_button_status)
Service Call: BMManageButtonStatus.
-
#BMSetInventory(options = {}, http_header = {}) ⇒ Object
(also: #bm_set_inventory)
Service Call: BMSetInventory.
-
#BMUpdateButton(options = {}, http_header = {}) ⇒ Object
(also: #bm_update_button)
Service Call: BMUpdateButton.
- #BuildBMButtonSearch(options = {}, &block) ⇒ Object (also: #build_bm_button_search)
- #BuildBMCreateButton(options = {}, &block) ⇒ Object (also: #build_bm_create_button)
- #BuildBMGetButtonDetails(options = {}, &block) ⇒ Object (also: #build_bm_get_button_details)
- #BuildBMGetInventory(options = {}, &block) ⇒ Object (also: #build_bm_get_inventory)
- #BuildBMManageButtonStatus(options = {}, &block) ⇒ Object (also: #build_bm_manage_button_status)
- #BuildBMSetInventory(options = {}, &block) ⇒ Object (also: #build_bm_set_inventory)
- #BuildBMUpdateButton(options = {}, &block) ⇒ Object (also: #build_bm_update_button)
Instance Method Details
#BMButtonSearch(options = {}, http_header = {}) ⇒ Object Also known as:
Service Call: BMButtonSearch
145 146 147 148 149 150 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 145 def BMButtonSearch( = {} , http_header = {}) request_object = BuildBMButtonSearch() request_hash = request_object.to_hash response_hash = request("BMButtonSearch", request_hash, http_header) BMButtonSearchResponseType.new(response_hash) end |
#BMCreateButton(options = {}, http_header = {}) ⇒ Object Also known as:
Service Call: BMCreateButton
19 20 21 22 23 24 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 19 def BMCreateButton( = {} , http_header = {}) request_object = BuildBMCreateButton() request_hash = request_object.to_hash response_hash = request("BMCreateButton", request_hash, http_header) BMCreateButtonResponseType.new(response_hash) end |
#BMGetButtonDetails(options = {}, http_header = {}) ⇒ Object Also known as:
Service Call: BMGetButtonDetails
82 83 84 85 86 87 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 82 def BMGetButtonDetails( = {} , http_header = {}) request_object = BuildBMGetButtonDetails() request_hash = request_object.to_hash response_hash = request("BMGetButtonDetails", request_hash, http_header) BMGetButtonDetailsResponseType.new(response_hash) end |
#BMGetInventory(options = {}, http_header = {}) ⇒ Object Also known as: bm_get_inventory
Service Call: BMGetInventory
124 125 126 127 128 129 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 124 def BMGetInventory( = {} , http_header = {}) request_object = BuildBMGetInventory() request_hash = request_object.to_hash response_hash = request("BMGetInventory", request_hash, http_header) BMGetInventoryResponseType.new(response_hash) end |
#BMManageButtonStatus(options = {}, http_header = {}) ⇒ Object Also known as:
Service Call: BMManageButtonStatus
61 62 63 64 65 66 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 61 def BMManageButtonStatus( = {} , http_header = {}) request_object = BuildBMManageButtonStatus() request_hash = request_object.to_hash response_hash = request("BMManageButtonStatus", request_hash, http_header) BMManageButtonStatusResponseType.new(response_hash) end |
#BMSetInventory(options = {}, http_header = {}) ⇒ Object Also known as: bm_set_inventory
Service Call: BMSetInventory
103 104 105 106 107 108 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 103 def BMSetInventory( = {} , http_header = {}) request_object = BuildBMSetInventory() request_hash = request_object.to_hash response_hash = request("BMSetInventory", request_hash, http_header) BMSetInventoryResponseType.new(response_hash) end |
#BMUpdateButton(options = {}, http_header = {}) ⇒ Object Also known as:
Service Call: BMUpdateButton
40 41 42 43 44 45 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 40 def BMUpdateButton( = {} , http_header = {}) request_object = BuildBMUpdateButton() request_hash = request_object.to_hash response_hash = request("BMUpdateButton", request_hash, http_header) BMUpdateButtonResponseType.new(response_hash) end |
#BuildBMButtonSearch(options = {}, &block) ⇒ Object Also known as:
153 154 155 156 157 158 159 160 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 153 def BuildBMButtonSearch( = {}, &block) klass = BMButtonSearchReq = klass.new(:BMButtonSearchRequest => ) unless .is_a?(klass) object = (.BMButtonSearchRequest ||= {}) object.version = SERVICE_VERSION object.instance_eval(&block) if block object end |
#BuildBMCreateButton(options = {}, &block) ⇒ Object Also known as:
27 28 29 30 31 32 33 34 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 27 def BuildBMCreateButton( = {}, &block) klass = BMCreateButtonReq = klass.new(:BMCreateButtonRequest => ) unless .is_a?(klass) object = (.BMCreateButtonRequest ||= {}) object.version = SERVICE_VERSION object.instance_eval(&block) if block object end |
#BuildBMGetButtonDetails(options = {}, &block) ⇒ Object Also known as:
90 91 92 93 94 95 96 97 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 90 def BuildBMGetButtonDetails( = {}, &block) klass = BMGetButtonDetailsReq = klass.new(:BMGetButtonDetailsRequest => ) unless .is_a?(klass) object = (.BMGetButtonDetailsRequest ||= {}) object.version = SERVICE_VERSION object.instance_eval(&block) if block object end |
#BuildBMGetInventory(options = {}, &block) ⇒ Object Also known as: build_bm_get_inventory
132 133 134 135 136 137 138 139 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 132 def BuildBMGetInventory( = {}, &block) klass = BMGetInventoryReq = klass.new(:BMGetInventoryRequest => ) unless .is_a?(klass) object = (.BMGetInventoryRequest ||= {}) object.version = SERVICE_VERSION object.instance_eval(&block) if block object end |
#BuildBMManageButtonStatus(options = {}, &block) ⇒ Object Also known as:
69 70 71 72 73 74 75 76 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 69 def BuildBMManageButtonStatus( = {}, &block) klass = BMManageButtonStatusReq = klass.new(:BMManageButtonStatusRequest => ) unless .is_a?(klass) object = (.BMManageButtonStatusRequest ||= {}) object.version = SERVICE_VERSION object.instance_eval(&block) if block object end |
#BuildBMSetInventory(options = {}, &block) ⇒ Object Also known as: build_bm_set_inventory
111 112 113 114 115 116 117 118 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 111 def BuildBMSetInventory( = {}, &block) klass = BMSetInventoryReq = klass.new(:BMSetInventoryRequest => ) unless .is_a?(klass) object = (.BMSetInventoryRequest ||= {}) object.version = SERVICE_VERSION object.instance_eval(&block) if block object end |
#BuildBMUpdateButton(options = {}, &block) ⇒ Object Also known as:
48 49 50 51 52 53 54 55 |
# File 'lib/paypal-sdk/button_manager_rails/services.rb', line 48 def BuildBMUpdateButton( = {}, &block) klass = BMUpdateButtonReq = klass.new(:BMUpdateButtonRequest => ) unless .is_a?(klass) object = (.BMUpdateButtonRequest ||= {}) object.version = SERVICE_VERSION object.instance_eval(&block) if block object end |