-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Releasing v2.33.1. Please check the changelog for the updates.
- Loading branch information
1 parent
12d2c8a
commit 139d881
Showing
5 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
### v2.33.1 (2024-03-06) | ||
* * * | ||
* NonSubscription has been added. | ||
|
||
|
||
### v2.33.0 (2024-02-29) | ||
* * * | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
///<reference path='./../core.d.ts'/> | ||
declare module 'chargebee' { | ||
export interface NonSubscription { | ||
|
||
app_id:string; | ||
|
||
invoice_id:string; | ||
|
||
customer_id?:string; | ||
|
||
charge_id:string; | ||
} | ||
export namespace NonSubscription { | ||
export class NonSubscriptionResource { | ||
process_receipt(non_subscription_app_id:string, input:ProcessReceiptInputParam):ChargebeeRequest<ProcessReceiptResponse>; | ||
} | ||
export interface ProcessReceiptResponse { | ||
non_subscription:NonSubscription; | ||
} | ||
export interface ProcessReceiptInputParam { | ||
|
||
receipt:string; | ||
|
||
product:{currency_code:string,id:string,name?:string,price:number,price_in_decimal?:string,type:'non_consumable' | 'consumable' | 'non_renewing_subscription'}; | ||
|
||
customer?:{email?:string,first_name?:string,id?:string,last_name?:string}; | ||
} | ||
|
||
} | ||
} |