File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
app/code/Magento/QuoteGraphQl Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ public function execute(QuoteAddress $address): array
42
42
43
43
$ addressData = array_merge ($ addressData , [
44
44
'address_id ' => $ address ->getId (),
45
+ 'address_type ' => $ address ->getAddressType (),
45
46
'country ' => [
46
47
'code ' => $ address ->getCountryId (),
47
48
'label ' => $ address ->getCountry ()
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ type CartAddress {
158
158
postcode : String
159
159
country : CartAddressCountry
160
160
telephone : String
161
- address_type : AdressTypeEnum
161
+ address_type : String
162
162
available_shipping_methods : [AvailableShippingMethod ] @resolver (class : " \\ Magento\\ QuoteGraphQl\\ Model\\ Resolver\\ ShippingAdress\\ AvailableShippingMethods" )
163
163
selected_shipping_method : SelectedShippingMethod
164
164
items_weight : Float
@@ -211,11 +211,6 @@ type SelectedPaymentMethod {
211
211
type SelectedPaymentMethodAdditionalData {
212
212
}
213
213
214
- enum AdressTypeEnum {
215
- SHIPPING
216
- BILLING
217
- }
218
-
219
214
type AppliedCoupon {
220
215
code : String !
221
216
}
You can’t perform that action at this time.
0 commit comments