![]() ![]() Input validation: Whenever a credit card number is modified, verify that it is of reasonable length.ĭemonstrate the class in a program that creates a CreditCard object and allows the user to change and view the state of the credit card with a menu driven program. ![]() This function should reset the balance to 0. This function should add 500 to the spendingLimit member variable each time it is called. This function should add the amount specified as a parameter to the balance member variable each time it is called. Appropriate accessor functions should be created to allow values to be retrieved from an object's member variables. The constructor should initialize the spending limit to $2,000 and the balance to $0.Īccessors. The constructor should accept the card holder’s name and card number and assign these values to the object's corresponding member variables. In addition, the class should have the following member functions:Ĭonstructor. A double that stores the spending limit of the card holder.īonus: additional fields that you can think of. A double that stores the current credit card balance. A field that holds the credit card number.īalance. A String that holds the card holder’s name.ĬardNumber. Write a class named CreditCard that has (at least) the following member variables: Thanks for your reply.I am new to OOP, i am not sure if this is the correct approach or not. I started here because getting support nowadays from any company is more pain than its worth. Should be a question for support, not a community forum but. ![]() I just wondered if this was a bug, an error on my device(s) or just something undocumented that is working as expected. Its safer but just wasn't what was expected according to the feedback while doing everything. I can't do that until I get the physical card in the mail since I can only see and know the expiration date and CVV number (numbers on the back of the card) on the card itself. That won't happen though until I remove and re-add the new card info. I did not have to re-verify the new card number on the Android app to update it so I am making the assumption that re-verification is what is needed to update the card number on the Ionic. I performed the above steps but the Ionic did not and still does not show the new number. After cancelling the old card and getting a new number on the credit card site, I opened the Android app and it shows the last 4 numbers of the new card. Both were added to Fitbit Pay app on Android and showed up on the Fitbit Pay app on Ionic. I have only enabled two cards for digital wallets. I guess my only real question is, should the card number have automatically updated on the Ionic once a sync was performed after updating in the Android app or not? It seemed as if that was the way it was supposed to happen but after reviewing my options, it seems like without verifying the new card number, it will not be added. I imagine all I have to do is remove the card from the Android app, sync the Ionic to remove it from the Fitbit Pay app (even though the new number is there already) then add the new card information, go through the verification process again and sync the new card info to the Ionic to resolve. The old card number remains so I haven't tried to use it. In any case, I tried a number of ways to update the card on the Ionic (deleted the card, reboot the Ionic, re-sync with my phone, change the default card, etc.) but all were unsuccessful. I don't remember if my credit card site or the Fitbit app gave a notification saying that I could instantly use my new card number with digital wallets (I suspect it was my credit card company). However, on my Ionic, the number has stayed the same. ![]() I was instantly given the new card number to use with Fitbit Pay and the card number updated in the Fitbit Pay app on my Android phone. Lost my Fitbit Pay linked credit card so I went my credit card site and requested a new one. Searched forums but did not see answer to my specific question. ![]()
0 Comments
Leave a Reply. |