Click or drag to resize

SavedCreditCard Class

Represents a credit card saved to netFORUM, found in iWeb under CRM -> Individual Profile -> Payments Tab -> Stored Payment Information
Inheritance Hierarchy
SystemObject
  Ignition.Framework.EntitiesNetForumEntity
    Ignition.Commerce.AccountingSavedCreditCard

Namespace: Ignition.Commerce.Accounting
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax
[ForceDeleteModeAttribute(DeleteModes.Soft)]
[NetForumBusinessObjectAttribute("CustomerPaymentInfo")]
public class SavedCreditCard : NetForumEntity

The SavedCreditCard type exposes the following members.

Constructors
 NameDescription
Public methodSavedCreditCardInitializes a new instance of the SavedCreditCard class
Top
Properties
 NameDescription
Public propertyBillingCity City of the billing address for this card, if one is known. Only settable on new, unsaved cards.
Protected propertyBillingCityInternal 
Public propertyBillingCountryIsoNumericCode 
Protected propertyBillingCountryIsoNumericCodeInternal 
Public propertyBillingState State of the billing address for this card, if one is known. Only settable on new, unsaved cards.
Protected propertyBillingStateInternal 
Public propertyBillingStreet Street of the billing address for this card, if one is known. Only settable on new, unsaved cards.
Protected propertyBillingStreetInternal 
Public propertyBillingZip Zip (postal) code of the billing address for this card, if one is known. Only settable on new, unsaved cards.
Protected propertyBillingZipInternal 
Public propertyCardholderName Cardholder name associated with this card. Only settable on new, unsaved cards.
Protected propertyCardholderNameInternal 
Public propertyCardNumber Complete credit card number. Only settable on new, unsaved cards.
Protected propertyCardNumberInternal 
Public propertyCustomerId Id of the customer that owns this card.
Public propertyCvv Credit card CVV verification code. Only settable on new, unsaved cards.
Protected propertyCvvInternal 
Public propertyExpireDate Expiration date associated with this card. Only settable on new, unsaved cards.
Protected propertyExpireDateInternal 
Public propertyId Primary key of the NetFORUM entity.
(Inherited from NetForumEntity)
Public propertyMaskedCardNumber Masked representation of the card number for display purposes. Only populated on cards that have already been saved.
Public propertyPaymentMethodId Payment Method associated with this card. Only settable on new, unsaved cards.
Protected propertyPaymentMethodIdInternal 
Public propertyRevisionInformation
(Inherited from NetForumEntity)
Top
Methods
 NameDescription
Public methodCastToCustomEntityTEntity Safely cast this entity to a custom user-defined type, as configured via the current CustomEntityRegistrar.
(Inherited from NetForumEntity)
Public methodIsExpired 
Public methodToStringObsolete.

(Overrides ObjectToString)
Top
Extension Methods
Remarks
Most of the properties on this entity are only settable before it has been saved to netFORUM. After it has been saved, these setters will throw an exception. Ignition will only ever soft-delete these records in order to preserve database integrity. After a soft-delete, netFORUM business logic dictates if the credit card will continue to be used in places where it was previously configured for payments, such as memberships configured for auto-pay renewals and installment payments. You may want to implement logic in your application to either verify that a card is not in use before removing it, or update the records that were using the card to remove it.
See Also