diff options
Diffstat (limited to 'packages/taler-util/src/taler-types.ts')
-rw-r--r-- | packages/taler-util/src/taler-types.ts | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/packages/taler-util/src/taler-types.ts b/packages/taler-util/src/taler-types.ts index 7a386b108..bad9186dc 100644 --- a/packages/taler-util/src/taler-types.ts +++ b/packages/taler-util/src/taler-types.ts @@ -617,26 +617,6 @@ export interface MerchantAbortPayRefundDetails { exchange_http_status: number; } -/** - * Response for a refund pickup or a /pay in abort mode. - */ -export interface MerchantRefundResponse { - /** - * Public key of the merchant - */ - merchant_pub: string; - - /** - * Contract terms hash of the contract that - * is being refunded. - */ - h_contract_terms: string; - - /** - * The signed refund permissions, to be sent to the exchange. - */ - refunds: MerchantAbortPayRefundDetails[]; -} /** * Planchet detail sent to the merchant. @@ -1471,14 +1451,6 @@ export const codecForMerchantRefundPermission = .property("exchange_pub", codecOptional(codecForString())) .build("MerchantRefundPermission"); -export const codecForMerchantRefundResponse = - (): Codec<MerchantRefundResponse> => - buildCodecForObject<MerchantRefundResponse>() - .property("merchant_pub", codecForString()) - .property("h_contract_terms", codecForString()) - .property("refunds", codecForList(codecForMerchantRefundPermission())) - .build("MerchantRefundResponse"); - export const codecForBlindSigWrapperV2 = (): Codec<MerchantBlindSigWrapperV2> => buildCodecForObject<MerchantBlindSigWrapperV2>() .property("blind_sig", codecForBlindedDenominationSignature()) |