paypal-server-sdk 0.5.2 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -18
  3. data/lib/paypal_server_sdk/controllers/base_controller.rb +1 -1
  4. data/lib/paypal_server_sdk/controllers/orders_controller.rb +64 -25
  5. data/lib/paypal_server_sdk/controllers/payments_controller.rb +53 -26
  6. data/lib/paypal_server_sdk/controllers/vault_controller.rb +4 -4
  7. data/lib/paypal_server_sdk/models/avs_code.rb +1 -1
  8. data/lib/paypal_server_sdk/models/blik_experience_context.rb +2 -2
  9. data/lib/paypal_server_sdk/models/blik_level0_payment_object.rb +2 -2
  10. data/lib/paypal_server_sdk/models/blik_one_click_payment_object.rb +2 -2
  11. data/lib/paypal_server_sdk/models/blik_one_click_payment_request.rb +2 -2
  12. data/lib/paypal_server_sdk/models/blik_payment_object.rb +4 -4
  13. data/lib/paypal_server_sdk/models/blik_payment_request.rb +8 -8
  14. data/lib/paypal_server_sdk/models/card_verification_details.rb +15 -2
  15. data/lib/paypal_server_sdk/models/card_verification_processor_response.rb +2 -2
  16. data/lib/paypal_server_sdk/models/confirm_order_request.rb +5 -8
  17. data/lib/paypal_server_sdk/models/cvv_code.rb +1 -1
  18. data/lib/paypal_server_sdk/models/eci_flag.rb +1 -1
  19. data/lib/paypal_server_sdk/models/eps_payment_object.rb +2 -2
  20. data/lib/paypal_server_sdk/models/eps_payment_request.rb +2 -2
  21. data/lib/paypal_server_sdk/models/{fullfillment_type.rb → fulfillment_type.rb} +2 -2
  22. data/lib/paypal_server_sdk/models/google_pay_card.rb +114 -0
  23. data/lib/paypal_server_sdk/models/google_pay_decrypted_token_data.rb +11 -2
  24. data/lib/paypal_server_sdk/models/ideal_payment_object.rb +2 -2
  25. data/lib/paypal_server_sdk/models/ideal_payment_request.rb +2 -2
  26. data/lib/paypal_server_sdk/models/link_description.rb +1 -1
  27. data/lib/paypal_server_sdk/models/link_http_method.rb +1 -1
  28. data/lib/paypal_server_sdk/models/{my_bank_payment_object.rb → mybank_payment_object.rb} +2 -2
  29. data/lib/paypal_server_sdk/models/{my_bank_payment_request.rb → mybank_payment_request.rb} +2 -2
  30. data/lib/paypal_server_sdk/models/network_token.rb +1 -1
  31. data/lib/paypal_server_sdk/models/order.rb +12 -12
  32. data/lib/paypal_server_sdk/models/order_authorize_request_payment_source.rb +2 -2
  33. data/lib/paypal_server_sdk/models/order_authorize_response.rb +10 -10
  34. data/lib/paypal_server_sdk/models/order_authorize_response_payment_source.rb +2 -2
  35. data/lib/paypal_server_sdk/models/order_capture_request_payment_source.rb +2 -2
  36. data/lib/paypal_server_sdk/models/pa_res_status.rb +1 -1
  37. data/lib/paypal_server_sdk/models/payment_source.rb +10 -10
  38. data/lib/paypal_server_sdk/models/payment_source_response.rb +10 -10
  39. data/lib/paypal_server_sdk/models/payment_token_response_payment_source.rb +2 -2
  40. data/lib/paypal_server_sdk/models/{pay_pal_experience_landing_page.rb → paypal_experience_landing_page.rb} +2 -2
  41. data/lib/paypal_server_sdk/models/{pay_pal_experience_user_action.rb → paypal_experience_user_action.rb} +2 -2
  42. data/lib/paypal_server_sdk/models/{pay_pal_payment_token.rb → paypal_payment_token.rb} +3 -3
  43. data/lib/paypal_server_sdk/models/{pay_pal_payment_token_customer_type.rb → paypal_payment_token_customer_type.rb} +2 -2
  44. data/lib/paypal_server_sdk/models/{pay_pal_payment_token_usage_pattern.rb → paypal_payment_token_usage_pattern.rb} +2 -2
  45. data/lib/paypal_server_sdk/models/{pay_pal_payment_token_usage_type.rb → paypal_payment_token_usage_type.rb} +2 -2
  46. data/lib/paypal_server_sdk/models/{pay_pal_wallet.rb → paypal_wallet.rb} +6 -6
  47. data/lib/paypal_server_sdk/models/{pay_pal_wallet_account_verification_status.rb → paypal_wallet_account_verification_status.rb} +2 -2
  48. data/lib/paypal_server_sdk/models/{pay_pal_wallet_attributes.rb → paypal_wallet_attributes.rb} +6 -6
  49. data/lib/paypal_server_sdk/models/{pay_pal_wallet_attributes_response.rb → paypal_wallet_attributes_response.rb} +4 -4
  50. data/lib/paypal_server_sdk/models/{pay_pal_wallet_customer.rb → paypal_wallet_customer.rb} +2 -2
  51. data/lib/paypal_server_sdk/models/{pay_pal_wallet_customer_request.rb → paypal_wallet_customer_request.rb} +3 -3
  52. data/lib/paypal_server_sdk/models/{pay_pal_wallet_experience_context.rb → paypal_wallet_experience_context.rb} +8 -8
  53. data/lib/paypal_server_sdk/models/{pay_pal_wallet_response.rb → paypal_wallet_response.rb} +5 -5
  54. data/lib/paypal_server_sdk/models/{pay_pal_wallet_vault_instruction.rb → paypal_wallet_vault_instruction.rb} +8 -8
  55. data/lib/paypal_server_sdk/models/{pay_pal_wallet_vault_response.rb → paypal_wallet_vault_response.rb} +5 -5
  56. data/lib/paypal_server_sdk/models/{pay_pal_wallet_vault_status.rb → paypal_wallet_vault_status.rb} +2 -2
  57. data/lib/paypal_server_sdk/models/portable_postal_address_medium_grained.rb +116 -0
  58. data/lib/paypal_server_sdk/models/processor_response.rb +2 -2
  59. data/lib/paypal_server_sdk/models/setup_token_request_payment_source.rb +2 -2
  60. data/lib/paypal_server_sdk/models/setup_token_response_payment_source.rb +2 -2
  61. data/lib/paypal_server_sdk/models/shipment_carrier.rb +325 -1
  62. data/lib/paypal_server_sdk/models/shipping_details.rb +1 -1
  63. data/lib/paypal_server_sdk/models/shipping_with_tracking_details.rb +1 -1
  64. data/lib/paypal_server_sdk/models/three_d_secure_authentication_response.rb +1 -1
  65. data/lib/paypal_server_sdk/models/universal_product_code.rb +1 -1
  66. data/lib/paypal_server_sdk/models/upc_type.rb +1 -1
  67. data/lib/paypal_server_sdk/models/{vault_pay_pal_wallet_request.rb → vault_paypal_wallet_request.rb} +2 -2
  68. data/lib/paypal_server_sdk/models/vaulted_digital_wallet_shipping_details.rb +1 -1
  69. data/lib/paypal_server_sdk.rb +24 -22
  70. metadata +25 -24
  71. data/lib/paypal_server_sdk/models/processing_instruction.rb +0 -23
@@ -5,7 +5,7 @@
5
5
 
6
6
  module PaypalServerSdk
7
7
  # The details about a saved PayPal Wallet payment source.
8
- class PayPalWalletVaultResponse < BaseModel
8
+ class PaypalWalletVaultResponse < BaseModel
9
9
  SKIP = Object.new
10
10
  private_constant :SKIP
11
11
 
@@ -14,7 +14,7 @@ module PaypalServerSdk
14
14
  attr_accessor :id
15
15
 
16
16
  # The vault status.
17
- # @return [PayPalWalletVaultStatus]
17
+ # @return [PaypalWalletVaultStatus]
18
18
  attr_accessor :status
19
19
 
20
20
  # An array of request-related HATEOAS links.
@@ -22,7 +22,7 @@ module PaypalServerSdk
22
22
  attr_accessor :links
23
23
 
24
24
  # The details about a customer in PayPal's system of record.
25
- # @return [PayPalWalletCustomer]
25
+ # @return [PaypalWalletCustomer]
26
26
  attr_accessor :customer
27
27
 
28
28
  # A mapping from model property names to API property names.
@@ -74,10 +74,10 @@ module PaypalServerSdk
74
74
  end
75
75
 
76
76
  links = SKIP unless hash.key?('links')
77
- customer = PayPalWalletCustomer.from_hash(hash['customer']) if hash['customer']
77
+ customer = PaypalWalletCustomer.from_hash(hash['customer']) if hash['customer']
78
78
 
79
79
  # Create object from extracted values.
80
- PayPalWalletVaultResponse.new(id: id,
80
+ PaypalWalletVaultResponse.new(id: id,
81
81
  status: status,
82
82
  links: links,
83
83
  customer: customer)
@@ -5,8 +5,8 @@
5
5
 
6
6
  module PaypalServerSdk
7
7
  # The vault status.
8
- class PayPalWalletVaultStatus
9
- PAY_PAL_WALLET_VAULT_STATUS = [
8
+ class PaypalWalletVaultStatus
9
+ PAYPAL_WALLET_VAULT_STATUS = [
10
10
  # TODO: Write general description for VAULTED
11
11
  VAULTED = 'VAULTED'.freeze,
12
12
 
@@ -0,0 +1,116 @@
1
+ # paypal_server_sdk
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module PaypalServerSdk
7
+ # The portable international postal address. Maps to
8
+ # [AddressValidationMetadata](https://github.com/googlei18n/libaddressinput/wi
9
+ # ki/AddressValidationMetadata) and HTML 5.1 [Autofilling form controls: the
10
+ # autocomplete
11
+ # attribute](https://www.w3.org/TR/html51/sec-forms.html#autofilling-form-cont
12
+ # rols-the-autocomplete-attribute).
13
+ class PortablePostalAddressMediumGrained < BaseModel
14
+ SKIP = Object.new
15
+ private_constant :SKIP
16
+
17
+ # The first line of the address, such as number and street, for example,
18
+ # `173 Drury Lane`. Needed for data entry, and Compliance and Risk checks.
19
+ # This field needs to pass the full address.
20
+ # @return [String]
21
+ attr_accessor :address_line_1
22
+
23
+ # The second line of the address, for example, a suite or apartment number.
24
+ # @return [String]
25
+ attr_accessor :address_line_2
26
+
27
+ # A city, town, or village. Smaller than `admin_area_level_1`.
28
+ # @return [String]
29
+ attr_accessor :admin_area_2
30
+
31
+ # The highest-level sub-division in a country, which is usually a province,
32
+ # state, or ISO-3166-2 subdivision. This data is formatted for postal
33
+ # delivery, for example, `CA` and not `California`. Value, by country,
34
+ # is:<ul><li>UK. A county.</li><li>US. A state.</li><li>Canada. A
35
+ # province.</li><li>Japan. A prefecture.</li><li>Switzerland. A
36
+ # *kanton*.</li></ul>
37
+ # @return [String]
38
+ attr_accessor :admin_area_1
39
+
40
+ # The postal code, which is the ZIP code or equivalent. Typically required
41
+ # for countries with a postal code or an equivalent. See [postal
42
+ # code](https://en.wikipedia.org/wiki/Postal_code).
43
+ # @return [String]
44
+ attr_accessor :postal_code
45
+
46
+ # The [2-character ISO 3166-1 code](/api/rest/reference/country-codes/) that
47
+ # identifies the country or region.<blockquote><strong>Note:</strong> The
48
+ # country code for Great Britain is <code>GB</code> and not <code>UK</code>
49
+ # as used in the top-level domain names for that country. Use the `C2`
50
+ # country code for China worldwide for comparable uncontrolled price (CUP)
51
+ # method, bank card, and cross-border transactions.</blockquote>
52
+ # @return [String]
53
+ attr_accessor :country_code
54
+
55
+ # A mapping from model property names to API property names.
56
+ def self.names
57
+ @_hash = {} if @_hash.nil?
58
+ @_hash['address_line_1'] = 'address_line_1'
59
+ @_hash['address_line_2'] = 'address_line_2'
60
+ @_hash['admin_area_2'] = 'admin_area_2'
61
+ @_hash['admin_area_1'] = 'admin_area_1'
62
+ @_hash['postal_code'] = 'postal_code'
63
+ @_hash['country_code'] = 'country_code'
64
+ @_hash
65
+ end
66
+
67
+ # An array for optional fields
68
+ def self.optionals
69
+ %w[
70
+ address_line_1
71
+ address_line_2
72
+ admin_area_2
73
+ admin_area_1
74
+ postal_code
75
+ ]
76
+ end
77
+
78
+ # An array for nullable fields
79
+ def self.nullables
80
+ []
81
+ end
82
+
83
+ def initialize(country_code:, address_line_1: SKIP, address_line_2: SKIP,
84
+ admin_area_2: SKIP, admin_area_1: SKIP, postal_code: SKIP)
85
+ @address_line_1 = address_line_1 unless address_line_1 == SKIP
86
+ @address_line_2 = address_line_2 unless address_line_2 == SKIP
87
+ @admin_area_2 = admin_area_2 unless admin_area_2 == SKIP
88
+ @admin_area_1 = admin_area_1 unless admin_area_1 == SKIP
89
+ @postal_code = postal_code unless postal_code == SKIP
90
+ @country_code = country_code
91
+ end
92
+
93
+ # Creates an instance of the object from a hash.
94
+ def self.from_hash(hash)
95
+ return nil unless hash
96
+
97
+ # Extract variables from the hash.
98
+ country_code = hash.key?('country_code') ? hash['country_code'] : nil
99
+ address_line_1 =
100
+ hash.key?('address_line_1') ? hash['address_line_1'] : SKIP
101
+ address_line_2 =
102
+ hash.key?('address_line_2') ? hash['address_line_2'] : SKIP
103
+ admin_area_2 = hash.key?('admin_area_2') ? hash['admin_area_2'] : SKIP
104
+ admin_area_1 = hash.key?('admin_area_1') ? hash['admin_area_1'] : SKIP
105
+ postal_code = hash.key?('postal_code') ? hash['postal_code'] : SKIP
106
+
107
+ # Create object from extracted values.
108
+ PortablePostalAddressMediumGrained.new(country_code: country_code,
109
+ address_line_1: address_line_1,
110
+ address_line_2: address_line_2,
111
+ admin_area_2: admin_area_2,
112
+ admin_area_1: admin_area_1,
113
+ postal_code: postal_code)
114
+ end
115
+ end
116
+ end
@@ -12,12 +12,12 @@ module PaypalServerSdk
12
12
 
13
13
  # The address verification code for Visa, Discover, Mastercard, or American
14
14
  # Express transactions.
15
- # @return [AVSCode]
15
+ # @return [AvsCode]
16
16
  attr_accessor :avs_code
17
17
 
18
18
  # The card verification value code for for Visa, Discover, Mastercard, or
19
19
  # American Express.
20
- # @return [CVVCode]
20
+ # @return [CvvCode]
21
21
  attr_accessor :cvv_code
22
22
 
23
23
  # Processor response code for the non-PayPal payment processor errors.
@@ -14,7 +14,7 @@ module PaypalServerSdk
14
14
  attr_accessor :card
15
15
 
16
16
  # A resource representing a request to vault PayPal Wallet.
17
- # @return [VaultPayPalWalletRequest]
17
+ # @return [VaultPaypalWalletRequest]
18
18
  attr_accessor :paypal
19
19
 
20
20
  # A resource representing a request to vault PayPal Wallet.
@@ -63,7 +63,7 @@ module PaypalServerSdk
63
63
 
64
64
  # Extract variables from the hash.
65
65
  card = SetupTokenRequestCard.from_hash(hash['card']) if hash['card']
66
- paypal = VaultPayPalWalletRequest.from_hash(hash['paypal']) if hash['paypal']
66
+ paypal = VaultPaypalWalletRequest.from_hash(hash['paypal']) if hash['paypal']
67
67
  venmo = VaultVenmoRequest.from_hash(hash['venmo']) if hash['venmo']
68
68
  token = VaultTokenRequest.from_hash(hash['token']) if hash['token']
69
69
 
@@ -14,7 +14,7 @@ module PaypalServerSdk
14
14
  attr_accessor :card
15
15
 
16
16
  # TODO: Write general description for this method
17
- # @return [PayPalPaymentToken]
17
+ # @return [PaypalPaymentToken]
18
18
  attr_accessor :paypal
19
19
 
20
20
  # TODO: Write general description for this method
@@ -56,7 +56,7 @@ module PaypalServerSdk
56
56
 
57
57
  # Extract variables from the hash.
58
58
  card = SetupTokenResponseCard.from_hash(hash['card']) if hash['card']
59
- paypal = PayPalPaymentToken.from_hash(hash['paypal']) if hash['paypal']
59
+ paypal = PaypalPaymentToken.from_hash(hash['paypal']) if hash['paypal']
60
60
  venmo = VenmoPaymentToken.from_hash(hash['venmo']) if hash['venmo']
61
61
 
62
62
  # Create object from extracted values.
@@ -3840,7 +3840,331 @@ module PaypalServerSdk
3840
3840
  EMS = 'EMS'.freeze,
3841
3841
 
3842
3842
  # TODO: Write general description for SPEEDY
3843
- SPEEDY = 'SPEEDY'.freeze
3843
+ SPEEDY = 'SPEEDY'.freeze,
3844
+
3845
+ # TODO: Write general description for ZOOM_RED
3846
+ ZOOM_RED = 'ZOOM_RED'.freeze,
3847
+
3848
+ # TODO: Write general description for NAVLUNGO
3849
+ NAVLUNGO = 'NAVLUNGO'.freeze,
3850
+
3851
+ # TODO: Write general description for CASTLEPARCELS
3852
+ CASTLEPARCELS = 'CASTLEPARCELS'.freeze,
3853
+
3854
+ # TODO: Write general description for WEEE
3855
+ WEEE = 'WEEE'.freeze,
3856
+
3857
+ # TODO: Write general description for PACKALY
3858
+ PACKALY = 'PACKALY'.freeze,
3859
+
3860
+ # TODO: Write general description for YUNHUIPOST
3861
+ YUNHUIPOST = 'YUNHUIPOST'.freeze,
3862
+
3863
+ # TODO: Write general description for YOUPARCEL
3864
+ YOUPARCEL = 'YOUPARCEL'.freeze,
3865
+
3866
+ # TODO: Write general description for LEMAN
3867
+ LEMAN = 'LEMAN'.freeze,
3868
+
3869
+ # TODO: Write general description for MOOVIN
3870
+ MOOVIN = 'MOOVIN'.freeze,
3871
+
3872
+ # TODO: Write general description for URB_IT
3873
+ URB_IT = 'URB_IT'.freeze,
3874
+
3875
+ # TODO: Write general description for MULTIENTREGAPANAMA
3876
+ MULTIENTREGAPANAMA = 'MULTIENTREGAPANAMA'.freeze,
3877
+
3878
+ # TODO: Write general description for JUSDASR
3879
+ JUSDASR = 'JUSDASR'.freeze,
3880
+
3881
+ # TODO: Write general description for DISCOUNTPOST
3882
+ DISCOUNTPOST = 'DISCOUNTPOST'.freeze,
3883
+
3884
+ # TODO: Write general description for RHENUS_UK
3885
+ RHENUS_UK = 'RHENUS_UK'.freeze,
3886
+
3887
+ # TODO: Write general description for SWISHIP_JP
3888
+ SWISHIP_JP = 'SWISHIP_JP'.freeze,
3889
+
3890
+ # TODO: Write general description for GLS_US
3891
+ GLS_US = 'GLS_US'.freeze,
3892
+
3893
+ # TODO: Write general description for SMTL
3894
+ SMTL = 'SMTL'.freeze,
3895
+
3896
+ # TODO: Write general description for EMEGA
3897
+ EMEGA = 'EMEGA'.freeze,
3898
+
3899
+ # TODO: Write general description for EXPRESSONE_SV
3900
+ EXPRESSONE_SV = 'EXPRESSONE_SV'.freeze,
3901
+
3902
+ # TODO: Write general description for HEPSIJET
3903
+ HEPSIJET = 'HEPSIJET'.freeze,
3904
+
3905
+ # TODO: Write general description for WELIVERY
3906
+ WELIVERY = 'WELIVERY'.freeze,
3907
+
3908
+ # TODO: Write general description for BRINGER
3909
+ BRINGER = 'BRINGER'.freeze,
3910
+
3911
+ # TODO: Write general description for EASYROUTES
3912
+ EASYROUTES = 'EASYROUTES'.freeze,
3913
+
3914
+ # TODO: Write general description for MRW
3915
+ MRW = 'MRW'.freeze,
3916
+
3917
+ # TODO: Write general description for RPM
3918
+ RPM = 'RPM'.freeze,
3919
+
3920
+ # TODO: Write general description for DPD_PRT
3921
+ DPD_PRT = 'DPD_PRT'.freeze,
3922
+
3923
+ # TODO: Write general description for GLS_ROMANIA
3924
+ GLS_ROMANIA = 'GLS_ROMANIA'.freeze,
3925
+
3926
+ # TODO: Write general description for LMPARCEL
3927
+ LMPARCEL = 'LMPARCEL'.freeze,
3928
+
3929
+ # TODO: Write general description for GTAGSM
3930
+ GTAGSM = 'GTAGSM'.freeze,
3931
+
3932
+ # TODO: Write general description for DOMINO
3933
+ DOMINO = 'DOMINO'.freeze,
3934
+
3935
+ # TODO: Write general description for ESHIPPER
3936
+ ESHIPPER = 'ESHIPPER'.freeze,
3937
+
3938
+ # TODO: Write general description for TRANSPAK
3939
+ TRANSPAK = 'TRANSPAK'.freeze,
3940
+
3941
+ # TODO: Write general description for XINDUS
3942
+ XINDUS = 'XINDUS'.freeze,
3943
+
3944
+ # TODO: Write general description for AOYUE
3945
+ AOYUE = 'AOYUE'.freeze,
3946
+
3947
+ # TODO: Write general description for EASYPARCEL
3948
+ EASYPARCEL = 'EASYPARCEL'.freeze,
3949
+
3950
+ # TODO: Write general description for EXPRESSONE
3951
+ EXPRESSONE = 'EXPRESSONE'.freeze,
3952
+
3953
+ # TODO: Write general description for SENDEO_KARGO
3954
+ SENDEO_KARGO = 'SENDEO_KARGO'.freeze,
3955
+
3956
+ # TODO: Write general description for SPEEDAF
3957
+ SPEEDAF = 'SPEEDAF'.freeze,
3958
+
3959
+ # TODO: Write general description for ETOWER
3960
+ ETOWER = 'ETOWER'.freeze,
3961
+
3962
+ # TODO: Write general description for GCX
3963
+ GCX = 'GCX'.freeze,
3964
+
3965
+ # TODO: Write general description for NINJAVAN_VN
3966
+ NINJAVAN_VN = 'NINJAVAN_VN'.freeze,
3967
+
3968
+ # TODO: Write general description for ALLEGRO
3969
+ ALLEGRO = 'ALLEGRO'.freeze,
3970
+
3971
+ # TODO: Write general description for JUMPPOINT
3972
+ JUMPPOINT = 'JUMPPOINT'.freeze,
3973
+
3974
+ # TODO: Write general description for SHIPGLOBAL_US
3975
+ SHIPGLOBAL_US = 'SHIPGLOBAL_US'.freeze,
3976
+
3977
+ # TODO: Write general description for KINISI
3978
+ KINISI = 'KINISI'.freeze,
3979
+
3980
+ # TODO: Write general description for OAKH
3981
+ OAKH = 'OAKH'.freeze,
3982
+
3983
+ # TODO: Write general description for AWEST
3984
+ AWEST = 'AWEST'.freeze,
3985
+
3986
+ # TODO: Write general description for BARSAN
3987
+ BARSAN = 'BARSAN'.freeze,
3988
+
3989
+ # TODO: Write general description for ENERGOLOGISTIC
3990
+ ENERGOLOGISTIC = 'ENERGOLOGISTIC'.freeze,
3991
+
3992
+ # TODO: Write general description for MADROOEX
3993
+ MADROOEX = 'MADROOEX'.freeze,
3994
+
3995
+ # TODO: Write general description for GOBOLT
3996
+ GOBOLT = 'GOBOLT'.freeze,
3997
+
3998
+ # TODO: Write general description for SWISS_UNIVERSAL_EXPRESS
3999
+ SWISS_UNIVERSAL_EXPRESS = 'SWISS_UNIVERSAL_EXPRESS'.freeze,
4000
+
4001
+ # TODO: Write general description for IORDIRECT
4002
+ IORDIRECT = 'IORDIRECT'.freeze,
4003
+
4004
+ # TODO: Write general description for XMSZM
4005
+ XMSZM = 'XMSZM'.freeze,
4006
+
4007
+ # TODO: Write general description for GLS_HUN
4008
+ GLS_HUN = 'GLS_HUN'.freeze,
4009
+
4010
+ # TODO: Write general description for SENDY
4011
+ SENDY = 'SENDY'.freeze,
4012
+
4013
+ # TODO: Write general description for BRAUNSEXPRESS
4014
+ BRAUNSEXPRESS = 'BRAUNSEXPRESS'.freeze,
4015
+
4016
+ # TODO: Write general description for GRANDSLAMEXPRESS
4017
+ GRANDSLAMEXPRESS = 'GRANDSLAMEXPRESS'.freeze,
4018
+
4019
+ # TODO: Write general description for XGS
4020
+ XGS = 'XGS'.freeze,
4021
+
4022
+ # TODO: Write general description for OTSCHILE
4023
+ OTSCHILE = 'OTSCHILE'.freeze,
4024
+
4025
+ # TODO: Write general description for PACK_UP
4026
+ PACK_UP = 'PACK_UP'.freeze,
4027
+
4028
+ # TODO: Write general description for PARCELSTARS
4029
+ PARCELSTARS = 'PARCELSTARS'.freeze,
4030
+
4031
+ # TODO: Write general description for TEAMEXPRESSLLC
4032
+ TEAMEXPRESSLLC = 'TEAMEXPRESSLLC'.freeze,
4033
+
4034
+ # TODO: Write general description for ASYADEXPRESS
4035
+ ASYADEXPRESS = 'ASYADEXPRESS'.freeze,
4036
+
4037
+ # TODO: Write general description for TDN
4038
+ TDN = 'TDN'.freeze,
4039
+
4040
+ # TODO: Write general description for EARLYBIRD
4041
+ EARLYBIRD = 'EARLYBIRD'.freeze,
4042
+
4043
+ # TODO: Write general description for CACESA
4044
+ CACESA = 'CACESA'.freeze,
4045
+
4046
+ # TODO: Write general description for PARCELJET
4047
+ PARCELJET = 'PARCELJET'.freeze,
4048
+
4049
+ # TODO: Write general description for MNG_KARGO
4050
+ MNG_KARGO = 'MNG_KARGO'.freeze,
4051
+
4052
+ # TODO: Write general description for SUPERPACKLINE
4053
+ SUPERPACKLINE = 'SUPERPACKLINE'.freeze,
4054
+
4055
+ # TODO: Write general description for SPEEDX
4056
+ SPEEDX = 'SPEEDX'.freeze,
4057
+
4058
+ # TODO: Write general description for VESYL
4059
+ VESYL = 'VESYL'.freeze,
4060
+
4061
+ # TODO: Write general description for SKYKING
4062
+ SKYKING = 'SKYKING'.freeze,
4063
+
4064
+ # TODO: Write general description for DIRMENSAJERIA
4065
+ DIRMENSAJERIA = 'DIRMENSAJERIA'.freeze,
4066
+
4067
+ # TODO: Write general description for NETLOGIXGROUP
4068
+ NETLOGIXGROUP = 'NETLOGIXGROUP'.freeze,
4069
+
4070
+ # TODO: Write general description for ZYOU
4071
+ ZYOU = 'ZYOU'.freeze,
4072
+
4073
+ # TODO: Write general description for JAWAR
4074
+ JAWAR = 'JAWAR'.freeze,
4075
+
4076
+ # TODO: Write general description for AGSYSTEMS
4077
+ AGSYSTEMS = 'AGSYSTEMS'.freeze,
4078
+
4079
+ # TODO: Write general description for GPS
4080
+ GPS = 'GPS'.freeze,
4081
+
4082
+ # TODO: Write general description for PTT_KARGO
4083
+ PTT_KARGO = 'PTT_KARGO'.freeze,
4084
+
4085
+ # TODO: Write general description for MAERGO
4086
+ MAERGO = 'MAERGO'.freeze,
4087
+
4088
+ # TODO: Write general description for ARIHANTCOURIER
4089
+ ARIHANTCOURIER = 'ARIHANTCOURIER'.freeze,
4090
+
4091
+ # TODO: Write general description for VTFE
4092
+ VTFE = 'VTFE'.freeze,
4093
+
4094
+ # TODO: Write general description for YUNANT
4095
+ YUNANT = 'YUNANT'.freeze,
4096
+
4097
+ # TODO: Write general description for URBIFY
4098
+ URBIFY = 'URBIFY'.freeze,
4099
+
4100
+ # TODO: Write general description for PACK_MAN
4101
+ PACK_MAN = 'PACK_MAN'.freeze,
4102
+
4103
+ # TODO: Write general description for LIEFERGRUN
4104
+ LIEFERGRUN = 'LIEFERGRUN'.freeze,
4105
+
4106
+ # TODO: Write general description for OBIBOX
4107
+ OBIBOX = 'OBIBOX'.freeze,
4108
+
4109
+ # TODO: Write general description for PAIKEDA
4110
+ PAIKEDA = 'PAIKEDA'.freeze,
4111
+
4112
+ # TODO: Write general description for SCOTTY
4113
+ SCOTTY = 'SCOTTY'.freeze,
4114
+
4115
+ # TODO: Write general description for INTELCOM_CA
4116
+ INTELCOM_CA = 'INTELCOM_CA'.freeze,
4117
+
4118
+ # TODO: Write general description for SWE
4119
+ SWE = 'SWE'.freeze,
4120
+
4121
+ # TODO: Write general description for ASENDIA
4122
+ ASENDIA = 'ASENDIA'.freeze,
4123
+
4124
+ # TODO: Write general description for DPD_AT
4125
+ DPD_AT = 'DPD_AT'.freeze,
4126
+
4127
+ # TODO: Write general description for RELAY
4128
+ RELAY = 'RELAY'.freeze,
4129
+
4130
+ # TODO: Write general description for ATA
4131
+ ATA = 'ATA'.freeze,
4132
+
4133
+ # TODO: Write general description for SKYEXPRESS_INTERNATIONAL
4134
+ SKYEXPRESS_INTERNATIONAL = 'SKYEXPRESS_INTERNATIONAL'.freeze,
4135
+
4136
+ # TODO: Write general description for SURAT_KARGO
4137
+ SURAT_KARGO = 'SURAT_KARGO'.freeze,
4138
+
4139
+ # TODO: Write general description for SGLINK
4140
+ SGLINK = 'SGLINK'.freeze,
4141
+
4142
+ # TODO: Write general description for FLEETOPTICSINC
4143
+ FLEETOPTICSINC = 'FLEETOPTICSINC'.freeze,
4144
+
4145
+ # TODO: Write general description for SHOPLINE
4146
+ SHOPLINE = 'SHOPLINE'.freeze,
4147
+
4148
+ # TODO: Write general description for PIGGYSHIP
4149
+ PIGGYSHIP = 'PIGGYSHIP'.freeze,
4150
+
4151
+ # TODO: Write general description for LOGOIX
4152
+ LOGOIX = 'LOGOIX'.freeze,
4153
+
4154
+ # TODO: Write general description for KOLAY_GELSIN
4155
+ KOLAY_GELSIN = 'KOLAY_GELSIN'.freeze,
4156
+
4157
+ # TODO: Write general description for ASSOCIATED_COURIERS
4158
+ ASSOCIATED_COURIERS = 'ASSOCIATED_COURIERS'.freeze,
4159
+
4160
+ # TODO: Write general description for UPS_CHECKER
4161
+ UPS_CHECKER = 'UPS_CHECKER'.freeze,
4162
+
4163
+ # TODO: Write general description for WINESHIPPING
4164
+ WINESHIPPING = 'WINESHIPPING'.freeze,
4165
+
4166
+ # TODO: Write general description for SPEDISCI
4167
+ SPEDISCI = 'SPEDISCI'.freeze
3844
4168
  ].freeze
3845
4169
 
3846
4170
  def self.validate(value)
@@ -21,7 +21,7 @@ module PaypalServerSdk
21
21
  # A classification for the method of purchase fulfillment (e.g shipping,
22
22
  # in-store pickup, etc). Either `type` or `options` may be present, but not
23
23
  # both.
24
- # @return [FullfillmentType]
24
+ # @return [FulfillmentType]
25
25
  attr_accessor :type
26
26
 
27
27
  # An array of shipping options that the payee or merchant offers to the
@@ -21,7 +21,7 @@ module PaypalServerSdk
21
21
  # A classification for the method of purchase fulfillment (e.g shipping,
22
22
  # in-store pickup, etc). Either `type` or `options` may be present, but not
23
23
  # both.
24
- # @return [FullfillmentType]
24
+ # @return [FulfillmentType]
25
25
  attr_accessor :type
26
26
 
27
27
  # An array of shipping options that the payee or merchant offers to the
@@ -11,7 +11,7 @@ module PaypalServerSdk
11
11
 
12
12
  # Transactions status result identifier. The outcome of the issuer's
13
13
  # authentication.
14
- # @return [PAResStatus]
14
+ # @return [PaResStatus]
15
15
  attr_accessor :authentication_status
16
16
 
17
17
  # Status of Authentication eligibility.
@@ -10,7 +10,7 @@ module PaypalServerSdk
10
10
  private_constant :SKIP
11
11
 
12
12
  # The Universal Product Code type.
13
- # @return [UPCType]
13
+ # @return [UpcType]
14
14
  attr_accessor :type
15
15
 
16
16
  # The UPC product code of the item.
@@ -5,7 +5,7 @@
5
5
 
6
6
  module PaypalServerSdk
7
7
  # The Universal Product Code type.
8
- class UPCType
8
+ class UpcType
9
9
  UPC_TYPE = [
10
10
  # TODO: Write general description for UPCA
11
11
  UPCA = 'UPC-A'.freeze,
@@ -5,7 +5,7 @@
5
5
 
6
6
  module PaypalServerSdk
7
7
  # A resource representing a request to vault PayPal Wallet.
8
- class VaultPayPalWalletRequest < BaseModel
8
+ class VaultPaypalWalletRequest < BaseModel
9
9
  SKIP = Object.new
10
10
  private_constant :SKIP
11
11
 
@@ -104,7 +104,7 @@ module PaypalServerSdk
104
104
  hash['experience_context']
105
105
 
106
106
  # Create object from extracted values.
107
- VaultPayPalWalletRequest.new(description: description,
107
+ VaultPaypalWalletRequest.new(description: description,
108
108
  shipping: shipping,
109
109
  permit_multiple_payment_tokens: permit_multiple_payment_tokens,
110
110
  usage_type: usage_type,
@@ -16,7 +16,7 @@ module PaypalServerSdk
16
16
  # A classification for the method of purchase fulfillment (e.g shipping,
17
17
  # in-store pickup, etc). Either `type` or `options` may be present, but not
18
18
  # both.
19
- # @return [FullfillmentType]
19
+ # @return [FulfillmentType]
20
20
  attr_accessor :type
21
21
 
22
22
  # The portable international postal address. Maps to