UNPKG

@lomray/microservice-payment-stripe

Version:

Stripe payment microservice based on NodeJS & inverted json.

27 lines (26 loc) 923 B
import { EntityManager, Repository } from 'typeorm'; import RefundEntity from "../entities/refund.js"; /** * Refund repository */ declare class Refund extends Repository<RefundEntity> { /** * Get is entity refund * @example Cast types avoid from ObjectLiteral or undefined in after update */ /** * Get is entity refund * @example Cast types avoid from ObjectLiteral or undefined in after update */ static getIsEntityRefund<TEntity>(entity?: RefundEntity | TEntity): entity is RefundEntity; /** * Update transactions refund status * @description Will cause transaction update */ /** * Update transactions refund status * @description Will cause transaction update */ static updateTransactionsRefundStatus(transactionId: string, manager: EntityManager, chargeRefundedAmount?: number | null): Promise<void>; } export { Refund as default };