Payment Members

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Represents a payment mechanism, such as a credit card.

The Payment type exposes the following members.

Constructors

  Name Description
Aa153759.protmethod(en-US,CS.70).gif Payment Overloaded. Initializes a new instance of the Payment class.

Top

Methods

  Name Description
Aa153759.pubmethod(en-US,CS.70).gif Equals Returns a value indicating whether the specified payment method is the same as the payment method of the current instance. (Overrides Object..::.Equals(Object).)
Aa153759.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa153759.pubmethod(en-US,CS.70).gif GetEnumerator Returns an enumerator that can be used to enumerate over all the weakly-typed properties of the current payment method.
Aa153759.pubmethod(en-US,CS.70).gif GetHashCode Returns a hash code for the current instance, based on the payment ID. (Overrides Object..::.GetHashCode()()().)
Aa153759.pubmethod(en-US,CS.70).gif GetObjectData Populates the SerializationInfo with the data needed to serialize the Payment.
Aa153759.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa153759.pubmethod(en-US,CS.70).gif LoadedFromStorage Called after the entire class graph is loaded from mapped storage to allow custom post-load marshaling. (Inherited from MappedStorageBase.)
Aa153759.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa153759.pubmethod(en-US,CS.70).gif SavedToStorage Called after saving a mapped class instance to storage to allow custom post-save marshaling. (Inherited from MappedStorageBase.)
Aa153759.pubmethod(en-US,CS.70).gif SavingToStorage Called prior to saving a mapped class instance to storage to allow custom pre-save marshaling. (Inherited from MappedStorageBase.)
Aa153759.pubmethod(en-US,CS.70).gif SetChildDirty Overloaded. Called by child class instances to propagate change notifications when a change occurs to child data members that are mapped to SQL storage.
Aa153759.pubmethod(en-US,CS.70).gif SetDirty Called by local class property set accessors when a change occurs to data members that are mapped to SQL storage. (Overrides MappedStorageBase..::.SetDirty(Object).)
Aa153759.pubmethod(en-US,CS.70).gif SetParent Called whenever the current instance is associated with a new order group. (Overrides MappedStorageBase..::.SetParent(Object).)
Aa153759.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa153759.pubproperty(en-US,CS.70).gif Amount Gets or sets the amount charged to the current instance.
Aa153759.pubproperty(en-US,CS.70).gif BillingAddressId Gets or sets the address identifier for the billing payment.
Aa153759.pubproperty(en-US,CS.70).gif CustomerNameOnPayment Gets or sets the customer's name as it appears on the credit card or purchase order.
Aa153759.pubproperty(en-US,CS.70).gif DerivedClassName Gets the name of the current instance.
Aa153759.pubproperty(en-US,CS.70).gif Item Gets or sets the Payment object from the current collection, based upon the specified name.
Aa153759.pubproperty(en-US,CS.70).gif OrderFormId Gets the order form identifier of the parent order form for the current payment instance.
Aa153759.pubproperty(en-US,CS.70).gif OrderGroupId Gets the order group identifier of the parent order group for the current payment instance.
Aa153759.pubproperty(en-US,CS.70).gif ParentOrderForm Gets a reference to the parent order form that contains the current instance.
Aa153759.pubproperty(en-US,CS.70).gif PaymentId Gets the unique identifier for the current instance.
Aa153759.pubproperty(en-US,CS.70).gif PaymentMethodId Gets or sets the unique identifier of the payment method used.
Aa153759.pubproperty(en-US,CS.70).gif PaymentMethodName Gets or sets the name of the payment method used.
Aa153759.pubproperty(en-US,CS.70).gif PaymentType Gets the type of payment method used.
Aa153759.protproperty(en-US,CS.70).gif ProtectedPaymentType Gets or sets a protected version of PaymentType with a setter for derived classes.
Aa153759.pubproperty(en-US,CS.70).gif Status Gets or sets the status of the current instance.
Aa153759.pubproperty(en-US,CS.70).gif StorageLoadInProgress Gets a value indicating whether a storage load is in progress. (Inherited from MappedStorageBase.)

Top

See Also

Reference

Payment Class

Microsoft.CommerceServer.Runtime.Orders Namespace