HRESULT GetCreditCard(
BSTRbstrFriendname, // in
BSTR bstrTotal// in
CREDITCARDINFO *pCreditCard// out
);
The GetCreditCard method returns a pointer to the credit-card information in a CREDITCARDINFO structure. The user is always asked for a password before the credit card is returned. A Payment Builder must handle a failure on this routine by returning the result back to the Credit Card component.