DiscountDetail
One discount that was considered.
type DiscountDetail {
code: String!
discountAmount: Float!
fixedAmount: Float
id: String!
isApplied: Boolean!
name: String!
percentage: Float
source: String
type: String!
}
Fields
DiscountDetail.code ● String! non-null scalar
The code of the scheme.
DiscountDetail.discountAmount ● Float! non-null scalar
The discount on this amount.
DiscountDetail.fixedAmount ● Float scalar
The fixed discount amount.
DiscountDetail.id ● String! non-null scalar
The unique ID of this record.
DiscountDetail.isApplied ● Boolean! non-null scalar
True when the discount was applied.
DiscountDetail.name ● String! non-null scalar
The name of the scheme.
DiscountDetail.percentage ● Float scalar
The discount in percent.
DiscountDetail.source ● String scalar
Where the discount came from: TIER, CUSTOMER, GLOBAL, PRODUCT or CATEGORY.
DiscountDetail.type ● String! non-null scalar
How the discount is worked out.
Member Of
CalculateDiscountResult object ● CustomerVariantPrice object