paypal-server-sdk 0.6.0 → 0.6.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.
@@ -24,6 +24,11 @@ module PaypalServerSdk
24
24
  # @return [GooglePayPaymentMethod]
25
25
  attr_accessor :payment_method
26
26
 
27
+ # The payment card used to fund a Google Pay payment. Can be a credit or
28
+ # debit card.
29
+ # @return [GooglePayCard]
30
+ attr_accessor :card
31
+
27
32
  # Authentication Method which is used for the card transaction.
28
33
  # @return [GooglePayAuthenticationMethod]
29
34
  attr_accessor :authentication_method
@@ -46,6 +51,7 @@ module PaypalServerSdk
46
51
  @_hash['message_id'] = 'message_id'
47
52
  @_hash['message_expiration'] = 'message_expiration'
48
53
  @_hash['payment_method'] = 'payment_method'
54
+ @_hash['card'] = 'card'
49
55
  @_hash['authentication_method'] = 'authentication_method'
50
56
  @_hash['cryptogram'] = 'cryptogram'
51
57
  @_hash['eci_indicator'] = 'eci_indicator'
@@ -67,12 +73,13 @@ module PaypalServerSdk
67
73
  []
68
74
  end
69
75
 
70
- def initialize(payment_method:, authentication_method:, message_id: SKIP,
71
- message_expiration: SKIP, cryptogram: SKIP,
76
+ def initialize(payment_method:, card:, authentication_method:,
77
+ message_id: SKIP, message_expiration: SKIP, cryptogram: SKIP,
72
78
  eci_indicator: SKIP)
73
79
  @message_id = message_id unless message_id == SKIP
74
80
  @message_expiration = message_expiration unless message_expiration == SKIP
75
81
  @payment_method = payment_method
82
+ @card = card
76
83
  @authentication_method = authentication_method
77
84
  @cryptogram = cryptogram unless cryptogram == SKIP
78
85
  @eci_indicator = eci_indicator unless eci_indicator == SKIP
@@ -85,6 +92,7 @@ module PaypalServerSdk
85
92
  # Extract variables from the hash.
86
93
  payment_method =
87
94
  hash.key?('payment_method') ? hash['payment_method'] : nil
95
+ card = GooglePayCard.from_hash(hash['card']) if hash['card']
88
96
  authentication_method =
89
97
  hash.key?('authentication_method') ? hash['authentication_method'] : nil
90
98
  message_id = hash.key?('message_id') ? hash['message_id'] : SKIP
@@ -95,6 +103,7 @@ module PaypalServerSdk
95
103
 
96
104
  # Create object from extracted values.
97
105
  GooglePayDecryptedTokenData.new(payment_method: payment_method,
106
+ card: card,
98
107
  authentication_method: authentication_method,
99
108
  message_id: message_id,
100
109
  message_expiration: message_expiration,
@@ -38,11 +38,13 @@ module PaypalServerSdk
38
38
  # @return [CheckoutPaymentIntent]
39
39
  attr_accessor :intent
40
40
 
41
- # The instruction to process an order.
42
- # @return [ProcessingInstruction]
41
+ # The intent to either capture payment immediately or authorize a payment
42
+ # for an order after order creation.
43
+ # @return [Object]
43
44
  attr_accessor :processing_instruction
44
45
 
45
- # The instruction to process an order.
46
+ # The intent to either capture payment immediately or authorize a payment
47
+ # for an order after order creation.
46
48
  # @return [Payer]
47
49
  attr_accessor :payer
48
50
 
@@ -58,10 +60,10 @@ module PaypalServerSdk
58
60
  attr_accessor :status
59
61
 
60
62
  # An array of request-related HATEOAS links. To complete payer approval, use
61
- # the `approve` link to redirect the payer. The API caller has 3 hours
63
+ # the `approve` link to redirect the payer. The API caller has 6 hours
62
64
  # (default setting, this which can be changed by your account manager to
63
65
  # 24/48/72 hours to accommodate your use case) from the time the order is
64
- # created, to redirect your payer. Once redirected, the API caller has 3
66
+ # created, to redirect your payer. Once redirected, the API caller has 6
65
67
  # hours for the payer to approve the order and either authorize or capture
66
68
  # the order. If you are not using the PayPal JavaScript SDK to initiate
67
69
  # PayPal Checkout (in context) ensure that you include
@@ -108,12 +110,10 @@ module PaypalServerSdk
108
110
  []
109
111
  end
110
112
 
111
- def initialize(
112
- create_time: SKIP, update_time: SKIP, id: SKIP, payment_source: SKIP,
113
- intent: SKIP,
114
- processing_instruction: ProcessingInstruction::NO_INSTRUCTION,
115
- payer: SKIP, purchase_units: SKIP, status: SKIP, links: SKIP
116
- )
113
+ def initialize(create_time: SKIP, update_time: SKIP, id: SKIP,
114
+ payment_source: SKIP, intent: SKIP,
115
+ processing_instruction: SKIP, payer: SKIP,
116
+ purchase_units: SKIP, status: SKIP, links: SKIP)
117
117
  @create_time = create_time unless create_time == SKIP
118
118
  @update_time = update_time unless update_time == SKIP
119
119
  @id = id unless id == SKIP
@@ -138,7 +138,7 @@ module PaypalServerSdk
138
138
  hash['payment_source']
139
139
  intent = hash.key?('intent') ? hash['intent'] : SKIP
140
140
  processing_instruction =
141
- hash['processing_instruction'] ||= ProcessingInstruction::NO_INSTRUCTION
141
+ hash.key?('processing_instruction') ? hash['processing_instruction'] : SKIP
142
142
  payer = Payer.from_hash(hash['payer']) if hash['payer']
143
143
  # Parameter is an array, so we need to iterate through it
144
144
  purchase_units = nil
@@ -38,11 +38,13 @@ module PaypalServerSdk
38
38
  # @return [CheckoutPaymentIntent]
39
39
  attr_accessor :intent
40
40
 
41
- # The instruction to process an order.
42
- # @return [ProcessingInstruction]
41
+ # The intent to either capture payment immediately or authorize a payment
42
+ # for an order after order creation.
43
+ # @return [Object]
43
44
  attr_accessor :processing_instruction
44
45
 
45
- # The instruction to process an order.
46
+ # The intent to either capture payment immediately or authorize a payment
47
+ # for an order after order creation.
46
48
  # @return [Payer]
47
49
  attr_accessor :payer
48
50
 
@@ -101,12 +103,10 @@ module PaypalServerSdk
101
103
  []
102
104
  end
103
105
 
104
- def initialize(
105
- create_time: SKIP, update_time: SKIP, id: SKIP, payment_source: SKIP,
106
- intent: SKIP,
107
- processing_instruction: ProcessingInstruction::NO_INSTRUCTION,
108
- payer: SKIP, purchase_units: SKIP, status: SKIP, links: SKIP
109
- )
106
+ def initialize(create_time: SKIP, update_time: SKIP, id: SKIP,
107
+ payment_source: SKIP, intent: SKIP,
108
+ processing_instruction: SKIP, payer: SKIP,
109
+ purchase_units: SKIP, status: SKIP, links: SKIP)
110
110
  @create_time = create_time unless create_time == SKIP
111
111
  @update_time = update_time unless update_time == SKIP
112
112
  @id = id unless id == SKIP
@@ -131,7 +131,7 @@ module PaypalServerSdk
131
131
  hash['payment_source']
132
132
  intent = hash.key?('intent') ? hash['intent'] : SKIP
133
133
  processing_instruction =
134
- hash['processing_instruction'] ||= ProcessingInstruction::NO_INSTRUCTION
134
+ hash.key?('processing_instruction') ? hash['processing_instruction'] : SKIP
135
135
  payer = Payer.from_hash(hash['payer']) if hash['payer']
136
136
  # Parameter is an array, so we need to iterate through it
137
137
  purchase_units = nil
@@ -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
@@ -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
@@ -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