Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Graphql-575: Schema inconsistency of "SelectedShippingMethod" declaration #638

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
e73db01
Fix condition setting po number from input
pmclain Apr 25, 2019
97c416c
Test for offline payment methods
pmclain Apr 25, 2019
157f520
GraphQL-601: [Test Coverage] Offline payments methods
naydav Apr 26, 2019
e8f1369
#631 Rename qty by quantity
osrecio Apr 25, 2019
035f602
GraphQL-631: Schema inconsistency of "Quantity / Qty" declaration
naydav Apr 29, 2019
604e223
GraphQL-621: BillingAddress and ShippingAddress should have different…
naydav Apr 29, 2019
274bb5e
ENGCOM-4853: GraphQl-621: BillingAddress and ShippingAddress should h…
magento-engcom-team Apr 29, 2019
0cd4e02
Merge remote-tracking branch 'origin/2.3-develop' into PR#631
naydav Apr 29, 2019
63a740b
GraphQL-631: Schema inconsistency of "Quantity / Qty" declaration
naydav Apr 29, 2019
9a887ee
ENGCOM-4850: Fix Quote Schema inconsistency #634
magento-engcom-team Apr 29, 2019
2426688
ENGCOM-4853: GraphQl-621: BillingAddress and ShippingAddress should h…
naydav Apr 29, 2019
b76602b
ENGCOM-4850: Fix Quote Schema inconsistency #634
naydav Apr 29, 2019
bfca73d
Merge remote-tracking branch 'origin/2.3-develop' into feature/offlin…
naydav Apr 29, 2019
5766e14
GraphQL-601: [Test Coverage] Offline payments methods
naydav Apr 29, 2019
c155d34
ENGCOM-4832: Offline Payment Method Tests #632
magento-engcom-team Apr 29, 2019
7a7b1b3
ENGCOM-4832: Offline Payment Method Tests #632
naydav Apr 29, 2019
109182e
GraphQL-631: Schema inconsistency of "Quantity / Qty" declaration
naydav Apr 29, 2019
c44df1c
GraphQL-631: Schema inconsistency of "Quantity / Qty" declaration
naydav Apr 29, 2019
c6ec1cb
GraphQL-575: Schema inconsistency of "SelectedShippingMethod" declara…
naydav Apr 29, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
178 changes: 0 additions & 178 deletions app/code/Magento/CatalogGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -16,179 +16,6 @@ type Query {
@resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\CategoryTree") @doc(description: "The category query searches for categories that match the criteria specified in the search and filter attributes") @cache(cacheTag: "cat_c", cacheIdentity: "Magento\\CatalogGraphQl\\Model\\Resolver\\Category\\CategoryTreeIdentity")
}

enum CurrencyEnum @doc(description: "The list of available currency codes") {
AFN
ALL
AZN
DZD
AOA
ARS
AMD
AWG
AUD
BSD
BHD
BDT
BBD
BYR
BZD
BMD
BTN
BOB
BAM
BWP
BRL
GBP
BND
BGN
BUK
BIF
KHR
CAD
CVE
CZK
KYD
GQE
CLP
CNY
COP
KMF
CDF
CRC
HRK
CUP
DKK
DJF
DOP
XCD
EGP
SVC
ERN
EEK
ETB
EUR
FKP
FJD
GMD
GEK
GEL
GHS
GIP
GTQ
GNF
GYD
HTG
HNL
HKD
HUF
ISK
INR
IDR
IRR
IQD
ILS
JMD
JPY
JOD
KZT
KES
KWD
KGS
LAK
LVL
LBP
LSL
LRD
LYD
LTL
MOP
MKD
MGA
MWK
MYR
MVR
LSM
MRO
MUR
MXN
MDL
MNT
MAD
MZN
MMK
NAD
NPR
ANG
YTL
NZD
NIC
NGN
KPW
NOK
OMR
PKR
PAB
PGK
PYG
PEN
PHP
PLN
QAR
RHD
RON
RUB
RWF
SHP
STD
SAR
RSD
SCR
SLL
SGD
SKK
SBD
SOS
ZAR
KRW
LKR
SDG
SRD
SZL
SEK
CHF
SYP
TWD
TJS
TZS
THB
TOP
TTD
TND
TMM
USD
UGX
UAH
AED
UYU
UZS
VUV
VEB
VEF
VND
CHE
CHW
XOF
WST
YER
ZMK
ZWD
TRY
AZM
ROL
TRL
XPF
}

type Price @doc(description: "The Price object defines the price of a product as well as any tax-related adjustments.") {
amount: Money @doc(description: "The price of a product plus a three-letter currency code")
adjustments: [PriceAdjustment] @doc(description: "An array that provides information about tax, weee, or weee_tax adjustments")
Expand All @@ -214,11 +41,6 @@ enum PriceTypeEnum @doc(description: "This enumeration the price type.") {
DYNAMIC
}

type Money @doc(description: "A Money object defines a monetary value, including a numeric value and a currency code.") {
value: Float @doc(description: "A number expressing a monetary value")
currency: CurrencyEnum @doc(description: "A three-letter currency code, such as USD or EUR")
}

type ProductPrices @doc(description: "The ProductPrices object contains the regular price of an item, as well as its minimum and maximum prices. Only composite products, which include bundle, configurable, and grouped products, can contain a minimum and maximum price.") {
minimalPrice: Price @doc(description: "The lowest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the from value.")
maximalPrice: Price @doc(description: "The highest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the to value.")
Expand Down
178 changes: 178 additions & 0 deletions app/code/Magento/GraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,181 @@ enum SortEnum @doc(description: "This enumeration indicates whether to return re
type ComplexTextValue {
html: String! @doc(description: "HTML format")
}

type Money @doc(description: "A Money object defines a monetary value, including a numeric value and a currency code.") {
value: Float @doc(description: "A number expressing a monetary value")
currency: CurrencyEnum @doc(description: "A three-letter currency code, such as USD or EUR")
}

enum CurrencyEnum @doc(description: "The list of available currency codes") {
AFN
ALL
AZN
DZD
AOA
ARS
AMD
AWG
AUD
BSD
BHD
BDT
BBD
BYR
BZD
BMD
BTN
BOB
BAM
BWP
BRL
GBP
BND
BGN
BUK
BIF
KHR
CAD
CVE
CZK
KYD
GQE
CLP
CNY
COP
KMF
CDF
CRC
HRK
CUP
DKK
DJF
DOP
XCD
EGP
SVC
ERN
EEK
ETB
EUR
FKP
FJD
GMD
GEK
GEL
GHS
GIP
GTQ
GNF
GYD
HTG
HNL
HKD
HUF
ISK
INR
IDR
IRR
IQD
ILS
JMD
JPY
JOD
KZT
KES
KWD
KGS
LAK
LVL
LBP
LSL
LRD
LYD
LTL
MOP
MKD
MGA
MWK
MYR
MVR
LSM
MRO
MUR
MXN
MDL
MNT
MAD
MZN
MMK
NAD
NPR
ANG
YTL
NZD
NIC
NGN
KPW
NOK
OMR
PKR
PAB
PGK
PYG
PEN
PHP
PLN
QAR
RHD
RON
RUB
RWF
SHP
STD
SAR
RSD
SCR
SLL
SGD
SKK
SBD
SOS
ZAR
KRW
LKR
SDG
SRD
SZL
SEK
CHF
SYP
TWD
TJS
TZS
THB
TOP
TTD
TND
TMM
USD
UGX
UAH
AED
UYU
UZS
VUV
VEB
VEF
VND
CHE
CHW
XOF
WST
YER
ZMK
ZWD
TRY
AZM
ROL
TRL
XPF
}
Loading