aboutsummaryrefslogtreecommitdiff
path: root/src/api/models/user-wallet-balance.ts
blob: 92f55ff5b8674846a86c58a998643f5cfb70a6dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* tslint:disable */
/* eslint-disable */
/**
 * General Research Full Service Brokerage API
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: 1.1.0
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

 /**
 * 
 *
 * @export
 * @interface UserWalletBalance
 */
export interface UserWalletBalance {

    /**
     * (USD cents) The amount in the user's wallet.
     *
     * @type {any}
     * @memberof UserWalletBalance
     */
    amount: any;

    /**
     * (USD cents) The amount in the user's wallet this is currently redeemable.
     *
     * @type {any}
     * @memberof UserWalletBalance
     */
    redeemableAmount: any;

    /**
     *  The format describing the str representation of a payout. Typically, this would be displayed to a user. The payout_format is similar to python format string with a subset of functionality supported. Only float with a precision are supported along with an optional comma for a thousands separator. In addition, a mathematical operator can be applied, such as dividing by 100.  Examples are shown assuming payout = 100 (one dollar). - \"{payout*10:,.0f} Points\" -> \"1,000 Points\" - \"${payout/100:.2f}\" -> \"$1.00\" 
     *
     * @type {any}
     * @memberof UserWalletBalance
     */
    payoutFormat: any;

    /**
     * The 'amount' with the payout_format applied. Can be displayed to the user.
     *
     * @type {any}
     * @memberof UserWalletBalance
     */
    amountString: any;

    /**
     * The 'redeemable_amount' with the payout_format applied. Can be displayed to the user.
     *
     * @type {any}
     * @memberof UserWalletBalance
     */
    redeemableAmountString: any;
}