paypal-sdk-buttonmanager 1.103.0 → 1.106.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5c60774484575d81269adc9b28d75b687882e375
4
- data.tar.gz: 034df47bcb53db27ef1916470faec0bb918cc59b
2
+ SHA256:
3
+ metadata.gz: 02a1c802d78a6ef6b36c62a1029e27c9323e8a5cb03ce3e5bb58db35272a9ef1
4
+ data.tar.gz: c6a6d8f32caa6cead401cc6fe6a87bbd51034d22d5ec0c2773d8aaa31f2e4d56
5
5
  SHA512:
6
- metadata.gz: b8f377e424bdf6b50466515f9eb510529e1ed5933ed312399c7eb02d46d9914880c1c244aa8ca78f67497683a77869c6956b6ecd67dc5c59c6fb8e6f65f46695
7
- data.tar.gz: 6952ccf6cc4c15867c69abf1281b172ae5ed4b654cdd7b4e9a0a9033d22faa15a58795f51d5bc5cba49a361737678a49ad4311e391c5e4989a85772c306fb7f7
6
+ metadata.gz: e45fecc871cf6e8816a1a919026dae84e50326f8614c54c81e04bc75a74bc000b13b52903d0b208c9e485c7ce8c9264a24e3054fb95a041690058a32f0978969
7
+ data.tar.gz: 37eeb97f2f65c82b14cea0b8666cc1a1a5c39f14b8921e3efc0ba7b5f4cb05a6f7528d957f081baa85c2d6458fdd708e9a1e91a6ad43b3566985b40586d9e662
data/Gemfile CHANGED
@@ -4,14 +4,8 @@ gemspec
4
4
 
5
5
  gem 'paypal-sdk-core', :git => "https://github.com/paypal/sdk-core-ruby.git"
6
6
 
7
- if File.exist? File.expand_path('../samples/button_manager_samples.gemspec', __FILE__)
8
- gem 'button_manager_samples', :path => 'samples', :require => false
9
- group :test do
10
- gem 'rspec-rails', :require => false
11
- gem 'capybara', '~> 2.0.3', :require => false
12
- end
13
- end
14
-
15
7
  group :test do
16
8
  gem 'rspec'
17
9
  end
10
+
11
+ gem 'nokogiri', '~> 1.8.1', :platform => :mri_18
data/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  The PayPal Button Manager SDK provides Ruby APIs to create, and manage PayPal Payments Standard buttons programmatically.
4
4
 
5
+ ## Support
6
+
7
+ > Please contact [PayPal Technical Support](https://developer.paypal.com/support/) for any live or account issues.
8
+
5
9
  ## Installation
6
10
 
7
11
  Add this line to your application's Gemfile:
@@ -92,29 +96,3 @@ else
92
96
  @bm_create_button_response.Errors
93
97
  end
94
98
  ```
95
-
96
- For more samples [paypal-sdk-samples.herokuapp.com/button_manager/](https://paypal-sdk-samples.herokuapp.com/button_manager/)
97
-
98
- ## Samples App
99
-
100
- Add following line in rails `Gemfile`:
101
-
102
- ```ruby
103
- gem 'paypal-sdk-buttonmanager'
104
- gem 'button_manager_samples', :git => "https://github.com/paypal/buttonmanager-sdk-ruby.git", :group => :development
105
- ```
106
-
107
- Configure routes(`config/routes.rb`):
108
-
109
- ```ruby
110
- mount ButtonManagerSamples::Engine => "/samples" if Rails.env.development?
111
- ```
112
-
113
- To get default paypal configuration execute:
114
-
115
- ```sh
116
- rails g paypal:sdk:install
117
- ```
118
-
119
- Run `rails server` and check the samples.
120
-
data/Rakefile CHANGED
@@ -2,13 +2,8 @@ require "bundler/gem_tasks"
2
2
 
3
3
  desc "Run tests"
4
4
  task :rspec do
5
- cmd = "bundle exec rspec && cd samples && bundle exec rspec"
5
+ cmd = "bundle exec rspec"
6
6
  system(cmd) || raise("#{cmd} failed")
7
7
  end
8
8
 
9
- desc "View samples"
10
- task :samples do
11
- system("cd samples/spec/dummy && bundle exec rails server")
12
- end
13
-
14
9
  task :default => :rspec
@@ -177,6 +177,13 @@ module PayPal::SDK
177
177
 
178
178
 
179
179
 
180
+ # It defines the enumerated types of the user channels defined in biz/User/value_object/Channel.oml
181
+ class UserChannelCodeType < EnumType
182
+ self.options = { 'WEB' => 'WEB', 'MOBILE' => 'MOBILE', 'POS' => 'POS', 'KIOSK' => 'KIOSK', 'IHSTB' => 'IHSTB', 'IVR' => 'IVR', 'ADMIN' => 'ADMIN', 'CSOPS' => 'CSOPS' }
183
+ end
184
+
185
+
186
+
180
187
  # PaymentTransactionCodeType This is the type of a PayPal of which matches the output from IPN
181
188
  class PaymentTransactionCodeType < EnumType
182
189
  self.options = { 'NONE' => 'none', 'WEBACCEPT' => 'web-accept', 'CART' => 'cart', 'SENDMONEY' => 'send-money', 'SUBSCRFAILED' => 'subscr-failed', 'SUBSCRCANCEL' => 'subscr-cancel', 'SUBSCRPAYMENT' => 'subscr-payment', 'SUBSCRSIGNUP' => 'subscr-signup', 'SUBSCREOT' => 'subscr-eot', 'SUBSCRMODIFY' => 'subscr-modify', 'MERCHTPMT' => 'mercht-pmt', 'MASSPAY' => 'mass-pay', 'VIRTUALTERMINAL' => 'virtual-terminal', 'INTEGRALEVOLUTION' => 'integral-evolution', 'EXPRESSCHECKOUT' => 'express-checkout', 'PROHOSTED' => 'pro-hosted', 'PROAPI' => 'pro-api', 'CREDIT' => 'credit' }
@@ -200,7 +207,7 @@ module PayPal::SDK
200
207
 
201
208
  # Normalization Status of the Address
202
209
  class AddressNormalizationStatusCodeType < EnumType
203
- self.options = { 'NONE' => 'None', 'NORMALIZED' => 'Normalized', 'UNNORMALIZED' => 'Unnormalized' }
210
+ self.options = { 'NONE' => 'None', 'NORMALIZED' => 'Normalized', 'UNNORMALIZED' => 'Unnormalized', 'USERPREFERRED' => 'UserPreferred' }
204
211
  end
205
212
 
206
213
 
@@ -978,6 +985,16 @@ module PayPal::SDK
978
985
  object_of :BuyerDetail, BuyerDetailType, :namespace => :ebl
979
986
  # Requests for specific buyer information like Billing Address to be returned through GetExpressCheckoutDetails should be specified under this.
980
987
  object_of :InfoSharingDirectives, InfoSharingDirectivesType, :namespace => :ebl
988
+ # The value 1 indicates that you require to retrieve the customer's shipping address on file with PayPal. Any value other than 1 indicates that no such requirement.
989
+ object_of :RetrieveShippingAddress, Boolean, :namespace => :ebl
990
+ # the value is required by ACS team to specify the channel which the partners are in. the channel will be used for risk assessment the value is defined in biz/User/value_object/Channel.oml Optional
991
+ object_of :UserChannel, UserChannelCodeType, :namespace => :ebl
992
+ # The value 1 indicates that you require that the customer's shipping address on file with PayPal be a confirmed address. Any value other than 1 indicates that the customer's shipping address on file with PayPal need NOT be a confirmed address. Setting this element overrides the setting you have specified in the recipient's Merchant Account Profile. Optional
993
+ object_of :ReqConfirmShipping, Boolean, :namespace => :ebl
994
+ # Information about the payment.
995
+ array_of :PaymentDetails, PaymentDetailsType, :namespace => :ebl
996
+ # An optional set of values related to tracking for external partner.
997
+ object_of :ExternalPartnerTrackingDetails, ExternalPartnerTrackingDetailsType, :namespace => :ebl
981
998
  end
982
999
  end
983
1000
 
@@ -1188,6 +1205,7 @@ module PayPal::SDK
1188
1205
  def self.load_members
1189
1206
  # If Checkout session was initialized successfully, the corresponding token is returned in this element.
1190
1207
  object_of :Token, String, :namespace => :ebl
1208
+ array_of :ShippingAddresses, AddressType, :namespace => :ebl
1191
1209
  array_of :SetDataError, ErrorType, :namespace => :ebl
1192
1210
  end
1193
1211
  end
@@ -1207,6 +1225,11 @@ module PayPal::SDK
1207
1225
 
1208
1226
  # How you want to obtain payment. Required Authorization indicates that this payment is a basic authorization subject to settlement with PayPal Authorization and Capture. Order indicates that this payment is is an order authorization subject to settlement with PayPal Authorization and Capture. Sale indicates that this is a final sale for which you are requesting payment. IMPORTANT: You cannot set PaymentAction to Sale on SetExpressCheckoutRequest and then change PaymentAction to Authorization on the final Express Checkout API, DoExpressCheckoutPaymentRequest. Character length and limit: Up to 13 single-byte alphabetic characters
1209
1227
  class DoExpressCheckoutPaymentRequestDetailsType < DataType
1228
+ def initialize(options={})
1229
+ super
1230
+ self.ButtonSource ||= "PayPal_SDK"
1231
+ end
1232
+
1210
1233
  def self.load_members
1211
1234
  # How you want to obtain payment. Required Authorization indicates that this payment is a basic authorization subject to settlement with PayPal Authorization and Capture. Order indicates that this payment is is an order authorization subject to settlement with PayPal Authorization and Capture. Sale indicates that this is a final sale for which you are requesting payment. IMPORTANT: You cannot set PaymentAction to Sale on SetExpressCheckoutRequest and then change PaymentAction to Authorization on the final Express Checkout API, DoExpressCheckoutPaymentRequest. Character length and limit: Up to 13 single-byte alphabetic characters
1212
1235
  object_of :PaymentAction, PaymentActionCodeType, :namespace => :ebl
@@ -1557,6 +1580,11 @@ module PayPal::SDK
1557
1580
 
1558
1581
  # MerchantPullPayment Parameters to make initiate a pull payment
1559
1582
  class MerchantPullPaymentType < DataType
1583
+ def initialize(options={})
1584
+ super
1585
+ self.ButtonSource ||= "PayPal_SDK"
1586
+ end
1587
+
1560
1588
  def self.load_members
1561
1589
  # The amount to charge to the customer. Required Only numeric characters and a decimal separator are allowed. Limit: 10 single-byte characters, including two for decimals You must set the currencyID attribute to one of the three-character currency code for any of the supported PayPal currencies.
1562
1590
  object_of :Amount, BasicAmountType, :namespace => :ebl
@@ -1780,7 +1808,7 @@ module PayPal::SDK
1780
1808
  object_of :InstrumentDetails, InstrumentDetailsType, :namespace => :ebl
1781
1809
  # Offer Details.
1782
1810
  object_of :OfferDetails, OfferDetailsType, :namespace => :ebl
1783
- # This field indicates whether the credit card number used for this transaction is in a particular bin range registered with PayPal by the merchant. This filed is optional and will be present if merchant has a registered bin range. The value of this field will be true if merchant has a registered bin range and the credit card used in the transaction is within the registered bin range. The value of this field will be false if merchant has a registered bin range and credit card used in the transaction outside registered bin range or the transaction is not done using a credit card.
1811
+ # This field indicates whether the credit card number used for this transaction is in a particular bin range registered with PayPal by the merchant. This filed is optional and will be present if merchant has a registered bin range. The value of this field will be "true" if merchant has a registered bin range and the credit card used in the transaction is within the registered bin range. The value of this field will be false if merchant has a registered bin range and credit card used in the transaction outside registered bin range or the transaction is not done using a credit card.
1784
1812
  object_of :BinEligibility, String, :namespace => :ebl
1785
1813
  end
1786
1814
  end
@@ -1979,6 +2007,11 @@ module PayPal::SDK
1979
2007
 
1980
2008
  # PaymentDetailsType Information about a payment. Used by DCC and Express Checkout.
1981
2009
  class PaymentDetailsType < DataType
2010
+ def initialize(options={})
2011
+ super
2012
+ self.ButtonSource ||= "PayPal_SDK"
2013
+ end
2014
+
1982
2015
  def self.load_members
1983
2016
  # Total of order, including shipping, handling, and tax. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,).
1984
2017
  object_of :OrderTotal, BasicAmountType, :namespace => :ebl
@@ -2002,6 +2035,8 @@ module PayPal::SDK
2002
2035
  object_of :NotifyURL, String, :namespace => :ebl
2003
2036
  # Address the order will be shipped to. Optional If you include the ShipToAddress element, the AddressType elements are required: Name Street1 CityName CountryCode Do not set set the CountryName element.
2004
2037
  object_of :ShipToAddress, AddressType, :namespace => :ebl
2038
+ # The value 1 indicates that this payment is associated with multiple shipping addresses. Optional Character length and limitations: Four single-byte numeric characters.
2039
+ object_of :MultiShipping, String, :namespace => :ebl
2005
2040
  # Thirdparty Fulfillment Reference Number. Optional Character length and limitations: 32 alphanumeric characters.
2006
2041
  object_of :FulfillmentReferenceNumber, String, :namespace => :ebl
2007
2042
  object_of :FulfillmentAddress, AddressType, :namespace => :ebl
@@ -2378,7 +2413,7 @@ module PayPal::SDK
2378
2413
  object_of :ImageUrl, String, :namespace => :ebl
2379
2414
  # Marketing category tha configures the graphic displayed n the PayPal Partner Welcome page.
2380
2415
  object_of :MarketingCategory, MarketingCategoryType, :namespace => :ebl
2381
- # Information about the merchant’s business
2416
+ # Information about the merchantâs business
2382
2417
  object_of :BusinessInfo, BusinessInfoType, :namespace => :ebl
2383
2418
  # Information about the merchant (the business owner)
2384
2419
  object_of :OwnerInfo, BusinessOwnerInfoType, :namespace => :ebl
@@ -2396,9 +2431,9 @@ module PayPal::SDK
2396
2431
  object_of :Type, BusinessTypeType, :namespace => :ebl
2397
2432
  # Official name of business Character length and limitations: 75 alphanumeric characters
2398
2433
  object_of :Name, String, :namespace => :ebl
2399
- # Merchant’s business postal address
2434
+ # Merchantâs business postal address
2400
2435
  object_of :Address, AddressType, :namespace => :ebl
2401
- # Business’s primary telephone number Character length and limitations: 20 alphanumeric characters
2436
+ # Businessâs primary telephone number Character length and limitations: 20 alphanumeric characters
2402
2437
  object_of :WorkPhone, String, :namespace => :ebl
2403
2438
  # Line of business, as defined in the enumerations
2404
2439
  object_of :Category, BusinessCategoryType, :namespace => :ebl
@@ -2414,11 +2449,11 @@ module PayPal::SDK
2414
2449
  object_of :Website, String, :namespace => :ebl
2415
2450
  # Percentage of revenue attributable to online sales, as defined by the enumerations Enumeration Meaning PercentageRevenueFromOnlineSales-Not-Applicable PercentageRevenueFromOnlineSales-Range1 Less than 25% PercentageRevenueFromOnlineSales-Range2 25% to 50% PercentageRevenueFromOnlineSales-Range3 50% to 75% PercentageRevenueFromOnlineSales-Range4 75% to 100%
2416
2451
  object_of :RevenueFromOnlineSales, PercentageRevenueFromOnlineSalesType, :namespace => :ebl
2417
- # Date the merchant’s business was established
2452
+ # Date the merchantâs business was established
2418
2453
  object_of :BusinessEstablished, DateTime, :namespace => :ebl
2419
- # Email address to contact business’s customer service Character length and limitations: 127 alphanumeric characters
2454
+ # Email address to contact businessâs customer service Character length and limitations: 127 alphanumeric characters
2420
2455
  object_of :CustomerServiceEmail, String, :namespace => :ebl
2421
- # Telephone number to contact business’s customer service Character length and limitations: 32 alphanumeric characters
2456
+ # Telephone number to contact businessâs customer service Character length and limitations: 32 alphanumeric characters
2422
2457
  object_of :CustomerServicePhone, String, :namespace => :ebl
2423
2458
  end
2424
2459
  end
@@ -2430,11 +2465,11 @@ module PayPal::SDK
2430
2465
  def self.load_members
2431
2466
  # Details about the business owner
2432
2467
  object_of :Owner, PayerInfoType, :namespace => :ebl
2433
- # Business owner’s home telephone number Character length and limitations: 32 alphanumeric characters
2468
+ # Business ownerâs home telephone number Character length and limitations: 32 alphanumeric characters
2434
2469
  object_of :HomePhone, String, :namespace => :ebl
2435
- # Business owner’s mobile telephone number Character length and limitations: 32 alphanumeric characters
2470
+ # Business ownerâs mobile telephone number Character length and limitations: 32 alphanumeric characters
2436
2471
  object_of :MobilePhone, String, :namespace => :ebl
2437
- # Business owner’s social security number Character length and limitations: 9 alphanumeric characters
2472
+ # Business ownerâs social security number Character length and limitations: 9 alphanumeric characters
2438
2473
  object_of :SSN, String, :namespace => :ebl
2439
2474
  end
2440
2475
  end
@@ -2448,9 +2483,9 @@ module PayPal::SDK
2448
2483
  object_of :Name, String, :namespace => :ebl
2449
2484
  # Type of bank account: Checking or Savings
2450
2485
  object_of :Type, BankAccountTypeType, :namespace => :ebl
2451
- # Merchant’s bank routing number Character length and limitations: 23 alphanumeric characters
2486
+ # Merchantâs bank routing number Character length and limitations: 23 alphanumeric characters
2452
2487
  object_of :RoutingNumber, String, :namespace => :ebl
2453
- # Merchant’s bank account number Character length and limitations: 256 alphanumeric characters
2488
+ # Merchantâs bank account number Character length and limitations: 256 alphanumeric characters
2454
2489
  object_of :AccountNumber, String, :namespace => :ebl
2455
2490
  end
2456
2491
  end
@@ -2464,9 +2499,9 @@ module PayPal::SDK
2464
2499
  object_of :Status, BoardingStatusType, :namespace => :ebl
2465
2500
  # Date the boarding process started
2466
2501
  object_of :StartDate, DateTime, :namespace => :ebl
2467
- # Date the merchant’s status or progress was last updated
2502
+ # Date the merchantâs status or progress was last updated
2468
2503
  object_of :LastUpdated, DateTime, :namespace => :ebl
2469
- # Reason for merchant’s cancellation of sign-up. Character length and limitations: 1,024 alphanumeric characters
2504
+ # Reason for merchantâs cancellation of sign-up. Character length and limitations: 1,024 alphanumeric characters
2470
2505
  object_of :Reason, String, :namespace => :ebl
2471
2506
  object_of :ProgramName, String, :namespace => :ebl
2472
2507
  object_of :ProgramCode, String, :namespace => :ebl
@@ -2477,7 +2512,7 @@ module PayPal::SDK
2477
2512
  object_of :PartnerCustom, String, :namespace => :ebl
2478
2513
  # Details about the owner of the account
2479
2514
  object_of :AccountOwner, PayerInfoType, :namespace => :ebl
2480
- # Merchant’s PayPal API credentials
2515
+ # Merchantâs PayPal API credentials
2481
2516
  object_of :Credentials, APICredentialsType, :namespace => :ebl
2482
2517
  # The APIs that this merchant has granted the business partner permission to call on his behalf. For example: SetExpressCheckout,GetExpressCheckoutDetails,DoExpressCheckoutPayment
2483
2518
  object_of :ConfigureAPIs, String, :namespace => :ebl
@@ -2495,15 +2530,15 @@ module PayPal::SDK
2495
2530
  # APICredentialsType
2496
2531
  class APICredentialsType < DataType
2497
2532
  def self.load_members
2498
- # Merchant’s PayPal API usernameCharacter length and limitations: 128 alphanumeric characters
2533
+ # Merchantâs PayPal API usernameCharacter length and limitations: 128 alphanumeric characters
2499
2534
  object_of :Username, String, :namespace => :ebl
2500
- # Merchant’s PayPal API passwordCharacter length and limitations: 40 alphanumeric characters
2535
+ # Merchantâs PayPal API passwordCharacter length and limitations: 40 alphanumeric characters
2501
2536
  object_of :Password, String, :namespace => :ebl
2502
- # Merchant’s PayPal API signature, if one exists. Character length and limitations: 256 alphanumeric characters
2537
+ # Merchantâs PayPal API signature, if one exists. Character length and limitations: 256 alphanumeric characters
2503
2538
  object_of :Signature, String, :namespace => :ebl
2504
- # Merchant’s PayPal API certificate in PEM format, if one exists The certificate consists of two parts: the private key (2,048 bytes) and the certificate proper (4,000 bytes). Character length and limitations: 6,048 alphanumeric characters
2539
+ # Merchantâs PayPal API certificate in PEM format, if one exists The certificate consists of two parts: the private key (2,048 bytes) and the certificate proper (4,000 bytes). Character length and limitations: 6,048 alphanumeric characters
2505
2540
  object_of :Certificate, String, :namespace => :ebl
2506
- # Merchant’s PayPal API authentication mechanism. Auth-None: no authentication mechanism on file Cert: API certificate Sign: API signature Character length and limitations: 9 alphanumeric characters
2541
+ # Merchantâs PayPal API authentication mechanism. Auth-None: no authentication mechanism on file Cert: API certificate Sign: API signature Character length and limitations: 9 alphanumeric characters
2507
2542
  object_of :Type, APIAuthenticationType, :namespace => :ebl
2508
2543
  end
2509
2544
  end
@@ -3221,6 +3256,27 @@ module PayPal::SDK
3221
3256
 
3222
3257
 
3223
3258
 
3259
+ # This holds single key-value pair.
3260
+ class TupleType < DataType
3261
+ def self.load_members
3262
+ # Key Name.Optional
3263
+ object_of :Key, String, :namespace => :ebl, :required => true
3264
+ # Value for the above key.Optional
3265
+ object_of :Value, String, :namespace => :ebl, :required => true
3266
+ end
3267
+ end
3268
+
3269
+
3270
+
3271
+ # This holds all key-value pairs which merchants wants to pass it to the open wallet(PLCC) processor.
3272
+ class MerchantDataType < DataType
3273
+ def self.load_members
3274
+ array_of :MerchantDataTuple, TupleType, :namespace => :ebl
3275
+ end
3276
+ end
3277
+
3278
+
3279
+
3224
3280
  class EnhancedCheckoutDataType < DataType
3225
3281
  def self.load_members
3226
3282
  end
@@ -3869,6 +3925,11 @@ module PayPal::SDK
3869
3925
 
3870
3926
  # Subject line of the email sent to all recipients. This subject is not contained in the input file; you must create it with your application. Optional Character length and limitations: 255 single-byte alphanumeric characters
3871
3927
  class MassPayRequestType < AbstractRequestType
3928
+ def initialize(options={})
3929
+ super
3930
+ self.ButtonSource ||= "PayPal_SDK"
3931
+ end
3932
+
3872
3933
  def self.load_members
3873
3934
  # Subject line of the email sent to all recipients. This subject is not contained in the input file; you must create it with your application. Optional Character length and limitations: 255 single-byte alphanumeric characters
3874
3935
  object_of :EmailSubject, String, :namespace => :ns
@@ -4442,6 +4503,8 @@ module PayPal::SDK
4442
4503
  object_of :MerchantStoreDetails, MerchantStoreDetailsType, :namespace => :ebl
4443
4504
  # Unique id for each API request to prevent duplicate payments. Optional Character length and limits: 38 single-byte characters maximum.
4444
4505
  object_of :MsgSubID, String, :namespace => :ns
4506
+ # This holds key-value pair which merchants wants to pass it to the open wallet-PLCC processorOptional
4507
+ object_of :MerchantData, MerchantDataType, :namespace => :ebl
4445
4508
  end
4446
4509
  end
4447
4510
 
@@ -4541,8 +4604,30 @@ module PayPal::SDK
4541
4604
  object_of :TransactionEntity, TransactionEntityType, :namespace => :ns
4542
4605
  # Amount to authorize. Required Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,).
4543
4606
  object_of :Amount, BasicAmountType, :namespace => :ns, :required => true
4607
+ # Address the order will be shipped to. Optional
4608
+ object_of :ShipToAddress, AddressType, :namespace => :ebl
4609
+ # Information about the individual purchased items
4610
+ array_of :PaymentDetailsItem, PaymentDetailsItemType, :namespace => :ebl
4611
+ # Sum of cost of all items in this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,).
4612
+ object_of :ItemTotal, BasicAmountType, :namespace => :ns
4613
+ # Total shipping costs for this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,).
4614
+ object_of :ShippingTotal, BasicAmountType, :namespace => :ns
4615
+ # Total handling costs for this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,).
4616
+ object_of :HandlingTotal, BasicAmountType, :namespace => :ns
4617
+ # Sum of tax for all items in this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,).
4618
+ object_of :TaxTotal, BasicAmountType, :namespace => :ns
4619
+ # Total shipping insurance costs for this order. Optional
4620
+ object_of :InsuranceTotal, BasicAmountType, :namespace => :ns
4621
+ # Shipping discount for this order, specified as a negative number. Optional
4622
+ object_of :ShippingDiscount, BasicAmountType, :namespace => :ns
4623
+ # Description of items the customer is purchasing. Optional Character length and limitations: 127 single-byte alphanumeric characters
4624
+ object_of :OrderDescription, String, :namespace => :ns
4625
+ # A free-form field for your own use. Optional Character length and limitations: 256 single-byte alphanumeric characters
4626
+ object_of :Custom, String, :namespace => :ns
4544
4627
  # Unique id for each API request to prevent duplicate payments. Optional Character length and limits: 38 single-byte characters maximum.
4545
4628
  object_of :MsgSubID, String, :namespace => :ns
4629
+ # IP Address of the buyer
4630
+ object_of :IPAddress, String, :namespace => :ns
4546
4631
  end
4547
4632
  end
4548
4633
 
@@ -4563,6 +4648,39 @@ module PayPal::SDK
4563
4648
 
4564
4649
 
4565
4650
 
4651
+ class UpdateAuthorizationReq < DataType
4652
+ def self.load_members
4653
+ object_of :UpdateAuthorizationRequest, UpdateAuthorizationRequestType, :namespace => :ns
4654
+ end
4655
+ end
4656
+
4657
+
4658
+
4659
+ # The value of the authorizationâtransaction identification number returned by a PayPal product. Required Character length and limits: 19 single-byte characters maximum
4660
+ class UpdateAuthorizationRequestType < AbstractRequestType
4661
+ def self.load_members
4662
+ # The value of the authorizationâtransaction identification number returned by a PayPal product. Required Character length and limits: 19 single-byte characters maximum
4663
+ object_of :TransactionID, String, :namespace => :ns, :required => true
4664
+ # Shipping Address for this transaction.
4665
+ object_of :ShipToAddress, AddressType, :namespace => :ebl
4666
+ # IP Address of the buyer
4667
+ object_of :IPAddress, String, :namespace => :ns
4668
+ end
4669
+ end
4670
+
4671
+
4672
+
4673
+ # An authorization identification number. Character length and limits: 19 single-byte characters
4674
+ class UpdateAuthorizationResponseType < AbstractResponseType
4675
+ def self.load_members
4676
+ # An authorization identification number. Character length and limits: 19 single-byte characters
4677
+ object_of :TransactionID, String, :namespace => :ns, :required => true
4678
+ object_of :AuthorizationInfo, AuthorizationInfoType, :namespace => :ebl
4679
+ end
4680
+ end
4681
+
4682
+
4683
+
4566
4684
  class DoUATPAuthorizationReq < DataType
4567
4685
  def self.load_members
4568
4686
  object_of :DoUATPAuthorizationRequest, DoUATPAuthorizationRequestType, :namespace => :ns
@@ -5,7 +5,7 @@ module PayPal::SDK
5
5
  module ButtonManager
6
6
 
7
7
  # Service Version
8
- SERVICE_VERSION = "98.0"
8
+ SERVICE_VERSION = "106.0"
9
9
  # Service Name
10
10
  SERVICE_NAME = "PayPalAPIInterfaceService"
11
11
 
@@ -1,7 +1,7 @@
1
1
  module PayPal
2
2
  module SDK
3
3
  module ButtonManager
4
- VERSION = "1.103.0"
4
+ VERSION = "1.106.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,73 +1,73 @@
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PayPal
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-12 00:00:00.000000000 Z
11
+ date: 2023-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paypal-sdk-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.2.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.2.3
27
- description: The PayPal Button Manager SDK provides Ruby APIs to create, and manage
28
- 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."
29
29
  email:
30
30
  - DL-PP-Platform-Ruby-SDK@ebay.com
31
31
  executables: []
32
32
  extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
- - spec/button_manager_spec.rb
36
- - spec/config/cert_key.pem
37
- - spec/config/paypal.yml
38
- - spec/spec_helper.rb
35
+ - Gemfile
36
+ - README.md
37
+ - Rakefile
38
+ - lib/paypal-sdk-buttonmanager.rb
39
+ - lib/paypal-sdk/button_manager.rb
39
40
  - lib/paypal-sdk/button_manager/api.rb
40
41
  - lib/paypal-sdk/button_manager/data_types.rb
41
42
  - lib/paypal-sdk/button_manager/services.rb
42
43
  - lib/paypal-sdk/button_manager/version.rb
43
- - lib/paypal-sdk/button_manager.rb
44
- - lib/paypal-sdk-buttonmanager.rb
45
- - Rakefile
46
- - README.md
47
- - Gemfile
44
+ - spec/button_manager_spec.rb
45
+ - spec/config/cert_key.pem
46
+ - spec/config/paypal.yml
47
+ - spec/spec_helper.rb
48
48
  homepage: https://developer.paypal.com
49
- licenses: []
49
+ licenses:
50
+ - PayPal SDK License
50
51
  metadata: {}
51
- post_install_message:
52
+ post_install_message:
52
53
  rdoc_options: []
53
54
  require_paths:
54
55
  - lib
55
56
  required_ruby_version: !ruby/object:Gem::Requirement
56
57
  requirements:
57
- - - '>='
58
+ - - ">="
58
59
  - !ruby/object:Gem::Version
59
60
  version: '0'
60
61
  required_rubygems_version: !ruby/object:Gem::Requirement
61
62
  requirements:
62
- - - '>='
63
+ - - ">="
63
64
  - !ruby/object:Gem::Version
64
65
  version: '0'
65
66
  requirements: []
66
- rubyforge_project:
67
- rubygems_version: 2.0.3
68
- signing_key:
67
+ rubygems_version: 3.4.10
68
+ signing_key:
69
69
  specification_version: 4
70
- summary: PayPal Button Manager SDK
70
+ summary: Deprecated.
71
71
  test_files:
72
72
  - spec/button_manager_spec.rb
73
73
  - spec/config/cert_key.pem