paypal-sdk-buttonmanager 1.106.0 → 1.106.1

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.
@@ -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 = "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
+ 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.106.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,77 +1,73 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal-sdk-buttonmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.106.0
5
- prerelease:
4
+ version: 1.106.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - PayPal
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-08-22 00:00:00.000000000 Z
11
+ date: 2023-10-17 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: paypal-sdk-core
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: 0.2.3
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: 0.2.3
30
- description: The PayPal Button Manager SDK provides Ruby APIs to create, and manage
31
- PayPal Payments Standard buttons programmatically.
27
+ description: "[Deprecated] The PayPal Button Manager SDK provides Ruby APIs to create,
28
+ and manage PayPal Payments Standard buttons programmatically."
32
29
  email:
33
30
  - DL-PP-Platform-Ruby-SDK@ebay.com
34
31
  executables: []
35
32
  extensions: []
36
33
  extra_rdoc_files: []
37
34
  files:
38
- - spec/button_manager_spec.rb
39
- - spec/config/cert_key.pem
40
- - spec/config/paypal.yml
41
- - spec/spec_helper.rb
35
+ - Gemfile
36
+ - README.md
37
+ - Rakefile
38
+ - lib/paypal-sdk-buttonmanager.rb
39
+ - lib/paypal-sdk/button_manager.rb
42
40
  - lib/paypal-sdk/button_manager/api.rb
43
41
  - lib/paypal-sdk/button_manager/data_types.rb
44
42
  - lib/paypal-sdk/button_manager/services.rb
45
43
  - lib/paypal-sdk/button_manager/version.rb
46
- - lib/paypal-sdk/button_manager.rb
47
- - lib/paypal-sdk-buttonmanager.rb
48
- - Rakefile
49
- - README.md
50
- - Gemfile
44
+ - spec/button_manager_spec.rb
45
+ - spec/config/cert_key.pem
46
+ - spec/config/paypal.yml
47
+ - spec/spec_helper.rb
51
48
  homepage: https://developer.paypal.com
52
- licenses: []
53
- post_install_message:
49
+ licenses:
50
+ - PayPal SDK License
51
+ metadata: {}
52
+ post_install_message:
54
53
  rdoc_options: []
55
54
  require_paths:
56
55
  - lib
57
56
  required_ruby_version: !ruby/object:Gem::Requirement
58
- none: false
59
57
  requirements:
60
- - - ! '>='
58
+ - - ">="
61
59
  - !ruby/object:Gem::Version
62
60
  version: '0'
63
61
  required_rubygems_version: !ruby/object:Gem::Requirement
64
- none: false
65
62
  requirements:
66
- - - ! '>='
63
+ - - ">="
67
64
  - !ruby/object:Gem::Version
68
65
  version: '0'
69
66
  requirements: []
70
- rubyforge_project:
71
- rubygems_version: 1.8.24
72
- signing_key:
73
- specification_version: 3
74
- summary: PayPal Button Manager SDK
67
+ rubygems_version: 3.4.10
68
+ signing_key:
69
+ specification_version: 4
70
+ summary: Deprecated.
75
71
  test_files:
76
72
  - spec/button_manager_spec.rb
77
73
  - spec/config/cert_key.pem