Skip to main content

RefundLine

Represents a refund line.

type RefundLine implements Node {
id: ID!
currency: String!
percentage: Float!
quantityFulfilled: Int!
quantityUnfulfilled: Int!
createdAt: DateTime!
updatedAt: DateTime!
chargedTo: RefundChargeToEnum!
lineScope: RefundLineScopeEnum!
lineType: RefundLineTypeEnum!
total: TaxedMoney!
refund: Refund!
refundScope: RefundScope!
}

Fields

RefundLine.id ● ID! non-null scalar

The Globally Unique ID of this object

RefundLine.currency ● String! non-null scalar

Currency code that this refund line is in.

RefundLine.percentage ● Float! non-null scalar

Percentage of scope to refund (0-100 range).

RefundLine.quantityFulfilled ● Int! non-null scalar

Number of fulfilled units refunded.

RefundLine.quantityUnfulfilled ● Int! non-null scalar

Number of unfulfilled units refunded.

RefundLine.createdAt ● DateTime! non-null scalar

When the line was created.

RefundLine.updatedAt ● DateTime! non-null scalar

When the line was last updated.

RefundLine.chargedTo ● RefundChargeToEnum! non-null enum

Who is paying for this refund line.

RefundLine.lineScope ● RefundLineScopeEnum! non-null enum

What entity this line applies to.

RefundLine.lineType ● RefundLineTypeEnum! non-null enum

How the refund line amount is calculated.

RefundLine.total ● TaxedMoney! non-null object

The total for this refund line.

RefundLine.refund ● Refund! non-null object

The refund this line belongs to.

RefundLine.refundScope ● RefundScope! non-null union

The scope that this refund line applies to.

Interfaces

Node interface

An object with a Globally Unique ID

Member Of

JournalEntry object ● RefundLineCountableEdge object

Was this page helpful?