Skip to content

Commit

Permalink
Merge pull request #294 from mercadopago/feature/payment-search-optio…
Browse files Browse the repository at this point in the history
…nal-options

optional returns on payment search
  • Loading branch information
lucmkz authored Nov 6, 2023
2 parents 409473f + 0946937 commit 4100b4c
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions src/clients/payment/search/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,47 +13,47 @@ export declare type PaymentSearch = {
};

export declare type PaymentSearchResult = {
id: string;
date_created: string;
date_approved: string;
date_last_updated: string;
date_of_expiration: string;
money_release_date: string;
operation_type: string;
issuer_id: string;
payment_method_id: string;
payment_type_id: string;
status: string;
status_detail: string;
currency_id: string;
description: string;
live_mode: boolean;
sponsor_id: string;
authorization_code: string;
money_release_schema: string;
counter_currency: string;
collector_id: string;
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;
notification_url: string;
processing_mode: string;
merchant_account_id: string;
acquirer: string;
merchant_number: string;
id?: string;
date_created?: string;
date_approved?: string;
date_last_updated?: string;
date_of_expiration?: string;
money_release_date?: string;
operation_type?: string;
issuer_id?: string;
payment_method_id?: string;
payment_type_id?: string;
status?: string;
status_detail?: string;
currency_id?: string;
description?: string;
live_mode?: boolean;
sponsor_id?: string;
authorization_code?: string;
money_release_schema?: string;
counter_currency?: string;
collector_id?: string;
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;
notification_url?: string;
processing_mode?: string;
merchant_account_id?: string;
acquirer?: string;
merchant_number?: string;
};

export declare type Payer = {
Expand Down

0 comments on commit 4100b4c

Please sign in to comment.