Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update type definition #405

Merged
merged 6 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/types/customers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export declare namespace Customers {
* and parentheses are allowed. The name must be between 3-50 characters
* in length. For example, `Gaurav Kumar`.
*/
name: string;
name?: string;
/**
* The customer's email address. A maximum length of 64 characters.
* For example, `[email protected]`.
Expand Down
4 changes: 2 additions & 2 deletions lib/types/products.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ export declare namespace Products {
/**
* Pass this parameter to accept terms and conditions. Send this parameter along with the ip parameter when the tnc is accepted.
*/
tnc_accepted: boolean;
tnc_accepted?: boolean;
/**
* he IP address of the merchant while accepting the terms and conditions. Send this parameter along with the `tnc_accepted` parameter when the `tnc` is accepted.
*/
ip: string;
ip?: string;
}

interface RazorpayProductCreateRequestBody extends RazorpayProductBaseRequestBody { }
Expand Down
Loading