FormOfPayment
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-03 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eChargeType\u003c/code\u003e enum defines how a user will be charged for a purchase, such as using wallet balance, credit card, loan, adding to the bill, or deducting from the main balance.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eChargeType\u003c/code\u003e value has a corresponding user-facing message that explains how the purchase will be processed and displayed to them before confirmation.\u003c/p\u003e\n"],["\u003cp\u003eOperators can use the \u003ccode\u003eChargeType\u003c/code\u003e enum to offer flexible payment options to users, catering to different preferences and scenarios.\u003c/p\u003e\n"]]],["The document outlines different payment methods for user purchases. `WALLET_BALANCE` deducts from the user's wallet balance, displaying \"Deducted from account balance\". `CREDIT_CARD_ON_FILE` charges a saved credit card, with a message \"Charged using your saved payment method\". `LOAN` extends credit, informing users it will be \"Deducted from your next account balance top up\". `ADD_TO_BILL` adds the charge to the billing cycle, shown as \"Added to your current billing cycle\". `MAIN_BALANCE` deducts from the main account balance, shown as \"Deducted from main balance\".\n"],null,["# FormOfPayment\n\nLINT.IfChange The way in which the user would be charged for purchase.\n\n| Enums ||\n|-----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `WALLET_BALANCE` | The balance for purchase will be deducted from existing wallet balance. If this payment method is set for an offer, then the user will be shown \"Deducted from account balance\" prior to the purchase. |\n| `CREDIT_CARD_ON_FILE` | The purchase will be charged to credit card on file. For this form of payment the user will be shown \"Charged using your saved payment method\". |\n| `LOAN` | The operator is extending a loan to the user. So, the purchase will succeed but the user is expected to pay the operator later. For this form of payment the user will be shown \"Deducted from your next account balance top up\". |\n| `ADD_TO_BILL` | The purchase will be added to the current billing cycle and will show up on the bill. For this form of payment the user will be shown \"Added to your current billing cycle\". |\n| `MAIN_BALANCE` | The balance for purchase will be deducted from existing main balance. For this form of payment the user will be shown \"Deducted from main balance\". |"]]