paypal-sdk-buttonmanager 1.103.0 → 1.106.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,167 +1,167 @@
1
- require 'paypal-sdk-core'
2
-
3
- # AUTO GENERATED code for PayPalAPIInterfaceService
4
- module PayPal::SDK
5
- module ButtonManager
6
-
7
- # Service Version
8
- SERVICE_VERSION = "98.0"
9
- # Service Name
10
- SERVICE_NAME = "PayPalAPIInterfaceService"
11
-
12
- module Services
13
- include DataTypes
14
-
15
-
16
- # Service Call: BMCreateButton
17
- # @param BMCreateButtonReq
18
- # @return BMCreateButtonResponseType
19
- def BMCreateButton(options = {} , http_header = {})
20
- request_object = BuildBMCreateButton(options)
21
- request_hash = request_object.to_hash
22
- response_hash = request("BMCreateButton", request_hash, http_header)
23
- BMCreateButtonResponseType.new(response_hash)
24
- end
25
- alias_method :bm_create_button, :BMCreateButton
26
-
27
- def BuildBMCreateButton(options = {}, &block)
28
- klass = BMCreateButtonReq
29
- options = klass.new(:BMCreateButtonRequest => options) unless options.is_a?(klass)
30
- object = (options.BMCreateButtonRequest ||= {})
31
- object.version = SERVICE_VERSION
32
- object.instance_eval(&block) if block
33
- object
34
- end
35
- alias_method :build_bm_create_button, :BuildBMCreateButton
36
-
37
- # Service Call: BMUpdateButton
38
- # @param BMUpdateButtonReq
39
- # @return BMUpdateButtonResponseType
40
- def BMUpdateButton(options = {} , http_header = {})
41
- request_object = BuildBMUpdateButton(options)
42
- request_hash = request_object.to_hash
43
- response_hash = request("BMUpdateButton", request_hash, http_header)
44
- BMUpdateButtonResponseType.new(response_hash)
45
- end
46
- alias_method :bm_update_button, :BMUpdateButton
47
-
48
- def BuildBMUpdateButton(options = {}, &block)
49
- klass = BMUpdateButtonReq
50
- options = klass.new(:BMUpdateButtonRequest => options) unless options.is_a?(klass)
51
- object = (options.BMUpdateButtonRequest ||= {})
52
- object.version = SERVICE_VERSION
53
- object.instance_eval(&block) if block
54
- object
55
- end
56
- alias_method :build_bm_update_button, :BuildBMUpdateButton
57
-
58
- # Service Call: BMManageButtonStatus
59
- # @param BMManageButtonStatusReq
60
- # @return BMManageButtonStatusResponseType
61
- def BMManageButtonStatus(options = {} , http_header = {})
62
- request_object = BuildBMManageButtonStatus(options)
63
- request_hash = request_object.to_hash
64
- response_hash = request("BMManageButtonStatus", request_hash, http_header)
65
- BMManageButtonStatusResponseType.new(response_hash)
66
- end
67
- alias_method :bm_manage_button_status, :BMManageButtonStatus
68
-
69
- def BuildBMManageButtonStatus(options = {}, &block)
70
- klass = BMManageButtonStatusReq
71
- options = klass.new(:BMManageButtonStatusRequest => options) unless options.is_a?(klass)
72
- object = (options.BMManageButtonStatusRequest ||= {})
73
- object.version = SERVICE_VERSION
74
- object.instance_eval(&block) if block
75
- object
76
- end
77
- alias_method :build_bm_manage_button_status, :BuildBMManageButtonStatus
78
-
79
- # Service Call: BMGetButtonDetails
80
- # @param BMGetButtonDetailsReq
81
- # @return BMGetButtonDetailsResponseType
82
- def BMGetButtonDetails(options = {} , http_header = {})
83
- request_object = BuildBMGetButtonDetails(options)
84
- request_hash = request_object.to_hash
85
- response_hash = request("BMGetButtonDetails", request_hash, http_header)
86
- BMGetButtonDetailsResponseType.new(response_hash)
87
- end
88
- alias_method :bm_get_button_details, :BMGetButtonDetails
89
-
90
- def BuildBMGetButtonDetails(options = {}, &block)
91
- klass = BMGetButtonDetailsReq
92
- options = klass.new(:BMGetButtonDetailsRequest => options) unless options.is_a?(klass)
93
- object = (options.BMGetButtonDetailsRequest ||= {})
94
- object.version = SERVICE_VERSION
95
- object.instance_eval(&block) if block
96
- object
97
- end
98
- alias_method :build_bm_get_button_details, :BuildBMGetButtonDetails
99
-
100
- # Service Call: BMSetInventory
101
- # @param BMSetInventoryReq
102
- # @return BMSetInventoryResponseType
103
- def BMSetInventory(options = {} , http_header = {})
104
- request_object = BuildBMSetInventory(options)
105
- request_hash = request_object.to_hash
106
- response_hash = request("BMSetInventory", request_hash, http_header)
107
- BMSetInventoryResponseType.new(response_hash)
108
- end
109
- alias_method :bm_set_inventory, :BMSetInventory
110
-
111
- def BuildBMSetInventory(options = {}, &block)
112
- klass = BMSetInventoryReq
113
- options = klass.new(:BMSetInventoryRequest => options) unless options.is_a?(klass)
114
- object = (options.BMSetInventoryRequest ||= {})
115
- object.version = SERVICE_VERSION
116
- object.instance_eval(&block) if block
117
- object
118
- end
119
- alias_method :build_bm_set_inventory, :BuildBMSetInventory
120
-
121
- # Service Call: BMGetInventory
122
- # @param BMGetInventoryReq
123
- # @return BMGetInventoryResponseType
124
- def BMGetInventory(options = {} , http_header = {})
125
- request_object = BuildBMGetInventory(options)
126
- request_hash = request_object.to_hash
127
- response_hash = request("BMGetInventory", request_hash, http_header)
128
- BMGetInventoryResponseType.new(response_hash)
129
- end
130
- alias_method :bm_get_inventory, :BMGetInventory
131
-
132
- def BuildBMGetInventory(options = {}, &block)
133
- klass = BMGetInventoryReq
134
- options = klass.new(:BMGetInventoryRequest => options) unless options.is_a?(klass)
135
- object = (options.BMGetInventoryRequest ||= {})
136
- object.version = SERVICE_VERSION
137
- object.instance_eval(&block) if block
138
- object
139
- end
140
- alias_method :build_bm_get_inventory, :BuildBMGetInventory
141
-
142
- # Service Call: BMButtonSearch
143
- # @param BMButtonSearchReq
144
- # @return BMButtonSearchResponseType
145
- def BMButtonSearch(options = {} , http_header = {})
146
- request_object = BuildBMButtonSearch(options)
147
- request_hash = request_object.to_hash
148
- response_hash = request("BMButtonSearch", request_hash, http_header)
149
- BMButtonSearchResponseType.new(response_hash)
150
- end
151
- alias_method :bm_button_search, :BMButtonSearch
152
-
153
- def BuildBMButtonSearch(options = {}, &block)
154
- klass = BMButtonSearchReq
155
- options = klass.new(:BMButtonSearchRequest => options) unless options.is_a?(klass)
156
- object = (options.BMButtonSearchRequest ||= {})
157
- object.version = SERVICE_VERSION
158
- object.instance_eval(&block) if block
159
- object
160
- end
161
- alias_method :build_bm_button_search, :BuildBMButtonSearch
162
-
163
-
164
- end
165
-
166
- end
167
- end
1
+ require 'paypal-sdk-core'
2
+
3
+ # AUTO GENERATED code for PayPalAPIInterfaceService
4
+ module PayPal::SDK
5
+ module ButtonManager
6
+
7
+ # Service Version
8
+ SERVICE_VERSION = "106.0"
9
+ # Service Name
10
+ SERVICE_NAME = "PayPalAPIInterfaceService"
11
+
12
+ module Services
13
+ include DataTypes
14
+
15
+
16
+ # Service Call: BMCreateButton
17
+ # @param BMCreateButtonReq
18
+ # @return BMCreateButtonResponseType
19
+ def BMCreateButton(options = {} , http_header = {})
20
+ request_object = BuildBMCreateButton(options)
21
+ request_hash = request_object.to_hash
22
+ response_hash = request("BMCreateButton", request_hash, http_header)
23
+ BMCreateButtonResponseType.new(response_hash)
24
+ end
25
+ alias_method :bm_create_button, :BMCreateButton
26
+
27
+ def BuildBMCreateButton(options = {}, &block)
28
+ klass = BMCreateButtonReq
29
+ options = klass.new(:BMCreateButtonRequest => options) unless options.is_a?(klass)
30
+ object = (options.BMCreateButtonRequest ||= {})
31
+ object.version = SERVICE_VERSION
32
+ object.instance_eval(&block) if block
33
+ object
34
+ end
35
+ alias_method :build_bm_create_button, :BuildBMCreateButton
36
+
37
+ # Service Call: BMUpdateButton
38
+ # @param BMUpdateButtonReq
39
+ # @return BMUpdateButtonResponseType
40
+ def BMUpdateButton(options = {} , http_header = {})
41
+ request_object = BuildBMUpdateButton(options)
42
+ request_hash = request_object.to_hash
43
+ response_hash = request("BMUpdateButton", request_hash, http_header)
44
+ BMUpdateButtonResponseType.new(response_hash)
45
+ end
46
+ alias_method :bm_update_button, :BMUpdateButton
47
+
48
+ def BuildBMUpdateButton(options = {}, &block)
49
+ klass = BMUpdateButtonReq
50
+ options = klass.new(:BMUpdateButtonRequest => options) unless options.is_a?(klass)
51
+ object = (options.BMUpdateButtonRequest ||= {})
52
+ object.version = SERVICE_VERSION
53
+ object.instance_eval(&block) if block
54
+ object
55
+ end
56
+ alias_method :build_bm_update_button, :BuildBMUpdateButton
57
+
58
+ # Service Call: BMManageButtonStatus
59
+ # @param BMManageButtonStatusReq
60
+ # @return BMManageButtonStatusResponseType
61
+ def BMManageButtonStatus(options = {} , http_header = {})
62
+ request_object = BuildBMManageButtonStatus(options)
63
+ request_hash = request_object.to_hash
64
+ response_hash = request("BMManageButtonStatus", request_hash, http_header)
65
+ BMManageButtonStatusResponseType.new(response_hash)
66
+ end
67
+ alias_method :bm_manage_button_status, :BMManageButtonStatus
68
+
69
+ def BuildBMManageButtonStatus(options = {}, &block)
70
+ klass = BMManageButtonStatusReq
71
+ options = klass.new(:BMManageButtonStatusRequest => options) unless options.is_a?(klass)
72
+ object = (options.BMManageButtonStatusRequest ||= {})
73
+ object.version = SERVICE_VERSION
74
+ object.instance_eval(&block) if block
75
+ object
76
+ end
77
+ alias_method :build_bm_manage_button_status, :BuildBMManageButtonStatus
78
+
79
+ # Service Call: BMGetButtonDetails
80
+ # @param BMGetButtonDetailsReq
81
+ # @return BMGetButtonDetailsResponseType
82
+ def BMGetButtonDetails(options = {} , http_header = {})
83
+ request_object = BuildBMGetButtonDetails(options)
84
+ request_hash = request_object.to_hash
85
+ response_hash = request("BMGetButtonDetails", request_hash, http_header)
86
+ BMGetButtonDetailsResponseType.new(response_hash)
87
+ end
88
+ alias_method :bm_get_button_details, :BMGetButtonDetails
89
+
90
+ def BuildBMGetButtonDetails(options = {}, &block)
91
+ klass = BMGetButtonDetailsReq
92
+ options = klass.new(:BMGetButtonDetailsRequest => options) unless options.is_a?(klass)
93
+ object = (options.BMGetButtonDetailsRequest ||= {})
94
+ object.version = SERVICE_VERSION
95
+ object.instance_eval(&block) if block
96
+ object
97
+ end
98
+ alias_method :build_bm_get_button_details, :BuildBMGetButtonDetails
99
+
100
+ # Service Call: BMSetInventory
101
+ # @param BMSetInventoryReq
102
+ # @return BMSetInventoryResponseType
103
+ def BMSetInventory(options = {} , http_header = {})
104
+ request_object = BuildBMSetInventory(options)
105
+ request_hash = request_object.to_hash
106
+ response_hash = request("BMSetInventory", request_hash, http_header)
107
+ BMSetInventoryResponseType.new(response_hash)
108
+ end
109
+ alias_method :bm_set_inventory, :BMSetInventory
110
+
111
+ def BuildBMSetInventory(options = {}, &block)
112
+ klass = BMSetInventoryReq
113
+ options = klass.new(:BMSetInventoryRequest => options) unless options.is_a?(klass)
114
+ object = (options.BMSetInventoryRequest ||= {})
115
+ object.version = SERVICE_VERSION
116
+ object.instance_eval(&block) if block
117
+ object
118
+ end
119
+ alias_method :build_bm_set_inventory, :BuildBMSetInventory
120
+
121
+ # Service Call: BMGetInventory
122
+ # @param BMGetInventoryReq
123
+ # @return BMGetInventoryResponseType
124
+ def BMGetInventory(options = {} , http_header = {})
125
+ request_object = BuildBMGetInventory(options)
126
+ request_hash = request_object.to_hash
127
+ response_hash = request("BMGetInventory", request_hash, http_header)
128
+ BMGetInventoryResponseType.new(response_hash)
129
+ end
130
+ alias_method :bm_get_inventory, :BMGetInventory
131
+
132
+ def BuildBMGetInventory(options = {}, &block)
133
+ klass = BMGetInventoryReq
134
+ options = klass.new(:BMGetInventoryRequest => options) unless options.is_a?(klass)
135
+ object = (options.BMGetInventoryRequest ||= {})
136
+ object.version = SERVICE_VERSION
137
+ object.instance_eval(&block) if block
138
+ object
139
+ end
140
+ alias_method :build_bm_get_inventory, :BuildBMGetInventory
141
+
142
+ # Service Call: BMButtonSearch
143
+ # @param BMButtonSearchReq
144
+ # @return BMButtonSearchResponseType
145
+ def BMButtonSearch(options = {} , http_header = {})
146
+ request_object = BuildBMButtonSearch(options)
147
+ request_hash = request_object.to_hash
148
+ response_hash = request("BMButtonSearch", request_hash, http_header)
149
+ BMButtonSearchResponseType.new(response_hash)
150
+ end
151
+ alias_method :bm_button_search, :BMButtonSearch
152
+
153
+ def BuildBMButtonSearch(options = {}, &block)
154
+ klass = BMButtonSearchReq
155
+ options = klass.new(:BMButtonSearchRequest => options) unless options.is_a?(klass)
156
+ object = (options.BMButtonSearchRequest ||= {})
157
+ object.version = SERVICE_VERSION
158
+ object.instance_eval(&block) if block
159
+ object
160
+ end
161
+ alias_method :build_bm_button_search, :BuildBMButtonSearch
162
+
163
+
164
+ end
165
+
166
+ end
167
+ end
@@ -1,7 +1,7 @@
1
- module PayPal
2
- module SDK
3
- module ButtonManager
4
- VERSION = "1.103.0"
5
- end
6
- end
7
- end
1
+ module PayPal
2
+ module SDK
3
+ module ButtonManager
4
+ VERSION = "1.106.0"
5
+ end
6
+ end
7
+ end
@@ -1,22 +1,22 @@
1
- require 'spec_helper'
2
-
3
- describe "ButtonManager" do
4
-
5
- before :all do
6
- @api = PayPal::SDK::ButtonManager::API.new
7
- end
8
-
9
- describe "Services" do
10
- PayPal::SDK::ButtonManager::Services.instance_methods.select{|s| s =~ /^[A-Z]/ and s !~ /^Build/ }.each do |service_method|
11
- it "make empty request to #{service_method}" do
12
- response = @api.send(service_method, {})
13
- response.ack.should_not be_nil
14
- end
15
- end
16
- end
17
-
18
- it "Validate ipn message" do
19
- @api.ipn_valid?("Invalid").should be_false
20
- end
21
-
22
- end
1
+ require 'spec_helper'
2
+
3
+ describe "ButtonManager" do
4
+
5
+ before :all do
6
+ @api = PayPal::SDK::ButtonManager::API.new
7
+ end
8
+
9
+ describe "Services" do
10
+ PayPal::SDK::ButtonManager::Services.instance_methods.select{|s| s =~ /^[A-Z]/ and s !~ /^Build/ }.each do |service_method|
11
+ it "make empty request to #{service_method}" do
12
+ response = @api.send(service_method, {})
13
+ response.ack.should_not be_nil
14
+ end
15
+ end
16
+ end
17
+
18
+ it "Validate ipn message" do
19
+ @api.ipn_valid?("Invalid").should be_false
20
+ end
21
+
22
+ end
@@ -1,24 +1,24 @@
1
- test: &default
2
- username: jb-us-seller_api1.paypal.com
3
- password: WX4WTU3S8MY44S7F
4
- signature: AFcWxV21C7fd0v3bYYYRCpSSRl31A7yDhhsPUU2XhtMoZXsWHFxu-RWy
5
- app_id: APP-80W284485P519543T
6
- http_timeout: 30
7
- mode: sandbox
8
-
9
- development:
10
- <<: *default
11
-
12
- with_certificate:
13
- <<: *default
14
- username: platfo_1255170694_biz_api1.gmail.com
15
- password: 2DPPKUPKB7DQLXNR
16
- signature:
17
- cert_path: "spec/config/cert_key.pem"
18
- app_id: APP-80W284485P519543T
19
- soap_end_point: "https://api.sandbox.paypal.com/2.0/"
20
-
21
- with_oauth_token:
22
- <<: *default
23
- token: H2kLxjm9lCxQdnOYxkH29I53TpZyIXez4GtHhAVGpiU3DiVTz5eNPQ
24
- token_secret: MnZ-iPdDqGLEfQIuTIfUN4uK9lU
1
+ test: &default
2
+ username: jb-us-seller_api1.paypal.com
3
+ password: WX4WTU3S8MY44S7F
4
+ signature: AFcWxV21C7fd0v3bYYYRCpSSRl31A7yDhhsPUU2XhtMoZXsWHFxu-RWy
5
+ app_id: APP-80W284485P519543T
6
+ http_timeout: 30
7
+ mode: sandbox
8
+
9
+ development:
10
+ <<: *default
11
+
12
+ with_certificate:
13
+ <<: *default
14
+ username: platfo_1255170694_biz_api1.gmail.com
15
+ password: 2DPPKUPKB7DQLXNR
16
+ signature:
17
+ cert_path: "spec/config/cert_key.pem"
18
+ app_id: APP-80W284485P519543T
19
+ soap_end_point: "https://api.sandbox.paypal.com/2.0/"
20
+
21
+ with_oauth_token:
22
+ <<: *default
23
+ token: H2kLxjm9lCxQdnOYxkH29I53TpZyIXez4GtHhAVGpiU3DiVTz5eNPQ
24
+ token_secret: MnZ-iPdDqGLEfQIuTIfUN4uK9lU
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal-sdk-buttonmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.103.0
4
+ version: 1.106.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - PayPal
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-06-12 00:00:00.000000000 Z
12
+ date: 2013-08-22 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: paypal-sdk-core
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -47,26 +50,27 @@ files:
47
50
  - Gemfile
48
51
  homepage: https://developer.paypal.com
49
52
  licenses: []
50
- metadata: {}
51
53
  post_install_message:
52
54
  rdoc_options: []
53
55
  require_paths:
54
56
  - lib
55
57
  required_ruby_version: !ruby/object:Gem::Requirement
58
+ none: false
56
59
  requirements:
57
- - - '>='
60
+ - - ! '>='
58
61
  - !ruby/object:Gem::Version
59
62
  version: '0'
60
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
+ none: false
61
65
  requirements:
62
- - - '>='
66
+ - - ! '>='
63
67
  - !ruby/object:Gem::Version
64
68
  version: '0'
65
69
  requirements: []
66
70
  rubyforge_project:
67
- rubygems_version: 2.0.3
71
+ rubygems_version: 1.8.24
68
72
  signing_key:
69
- specification_version: 4
73
+ specification_version: 3
70
74
  summary: PayPal Button Manager SDK
71
75
  test_files:
72
76
  - spec/button_manager_spec.rb