HomeVendure CoreShow hidden breadcrumbs...EntitiesRefundOn this pageRefund@vendure/coreSource A refund the belongs to an order Signatureclass Refund extends VendureEntity implements HasCustomFields { constructor(input?: DeepPartial<Refund>) @Money() items: number; @Money() shipping: number; @Money() adjustment: number; @Money() total: number; @Column() method: string; @Column({ nullable: true }) reason: string; @Column('varchar') state: RefundState; @Column({ nullable: true }) transactionId: string; @OneToMany(type => RefundLine, line => line.refund) @JoinTable() lines: RefundLine[]; @Index() @ManyToOne(type => Payment, payment => payment.refunds) @JoinColumn() payment: Payment; @EntityId() paymentId: ID; @Column('simple-json') metadata: PaymentMetadata; @Column(type => CustomRefundFields) customFields: CustomRefundFields;} Extends: VendureEntity Implements: HasCustomFields itemspropertynumbershippingpropertynumberadjustmentpropertynumbertotalpropertynumbermethodpropertystringreasonpropertystringstatepropertyRefundStatetransactionIdpropertystringlinespropertyRefundLine[]paymentpropertyPaymentpaymentIdpropertyIDmetadatapropertyPaymentMetadatacustomFieldspropertyCustomRefundFieldsWas this chapter helpful?It was helpfulIt wasn't helpfulReport IssuePreviousProvinceNextRegionEdited Apr 20, 2026ยทEdit this page