Skip to content

Commit

Permalink
Merge pull request #292 from aledavidgueva/master
Browse files Browse the repository at this point in the history
Fix payment search types
  • Loading branch information
lucmkz authored Nov 1, 2023
2 parents 1701554 + 4af8b0e commit 409473f
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/clients/payment/search/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,35 +33,34 @@ export declare type PaymentSearchResult = {
money_release_schema: string;
counter_currency: string;
collector_id: string;
payer: Payer
payer: Payer;
metadata: any;
additional_info: any;
external_reference: string;
transaction_amount: number;
transaction_amount_refunded: number;
coupon_amount: number;
differential_pricing_id: string;
deduction_schema: string;
transaction_details: TransactionDetails;
captured: boolean;
binary_mode: boolean;
call_for_authorize_id: string;
statement_descriptor: string;
installments: number;
card: any;
carnotification_urld: string;
notification_url: string;
processing_mode: string;
merchant_account_id: string;
acquirer: string;
merchant_number: string;
external_reference: string;
};

export declare type Payer = {
id: string;
email: string;
identification: Identification;
type: string;
metadata: any;
additional_info: any;
external_reference: string;
transaction_amount: number;
transaction_amount_refunded: number;
coupon_amount: number;
differential_pricing_id: string;
deduction_schema: string;
transaction_details: TransactionDetails;
};

export declare type TransactionDetails = {
Expand Down

0 comments on commit 409473f

Please sign in to comment.