Udostępnij za pośrednictwem


PaymentType Property

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

Gets or sets the PaymentMethodTypes enumeration value.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
Public Property PaymentType As PaymentMethodTypes
'Usage
Dim instance As PaymentMethod
Dim value As PaymentMethodTypes

value = instance.PaymentType

instance.PaymentType = value
public PaymentMethodTypes PaymentType { get; set; }
public:
property PaymentMethodTypes PaymentType {
    PaymentMethodTypes get ();
    void set (PaymentMethodTypes value);
}
public function get PaymentType () : PaymentMethodTypes
public function set PaymentType (value : PaymentMethodTypes)

Property Value

Type: Microsoft.CommerceServer.Orders..::.PaymentMethodTypes
A PaymentMethodTypes enumeration value indicating the method of payment for an order.

Remarks

The enumeration value may be one of the following:

  • CashCard - a Cash card is refillable gift certificate

  • CreditCard - a commercial or branded credit card

  • Custom - User defined.

  • GiftCertificate - electronic bundles of currency that can be spent at the site.

  • PurchaseOrder - users are associated with their company, and must provide a purchase order number to authorize the purchase.

Permissions

See Also

Reference

PaymentMethod Class

PaymentMethod Members

Microsoft.CommerceServer.Orders Namespace