Class coresalekeyed

This class represents the keyed sale request object which is send to the server to be processed.More…

Inheritance diagram for CorePayments.CoreSaleKeyed:

CorePayments.CoreSale

Public Member Functions

CoreSaleKeyed ()
Initializes a new instance of the CoreSaleKeyed class.More…
CoreSaleKeyed (decimal amount)
Initializes a new instance of the CoreSaleKeyed class.More…
Public Member Functions inherited from CorePayments.CoreSale
CoreSale ()
Initializes a new instance of the CoreSale class.More…
CoreSale (decimal amount)
Initializes a new instance of the CoreSale class.More…
CoreSale (decimal amount, string orderId)
Initializes a new instance of the CoreSale class.More…
void AddTipWithAmount (decimal tipAmount)
Adds the tip with amount.More…

Properties

string cardNumber [get, set]
Gets or sets the card number.More…
string cardCvv [get, set]
Gets or sets the card CVV.More…
string expiryDate [get, set]
Gets or sets the expiry date.More…
string encryptedData [get, set]
Gets or sets the encrypted pan.More…
string ksn [get, set]
Gets or sets the KSN.More…
string address1 [get, set]
Gets or sets the address 1.More…
string address2 [get, set]
Gets or sets the address 1.More…
string postCode [get, set]
Gets or sets the post code.More…
Properties inherited from CorePayments.CoreSale
decimal amount [get, set]
Gets or sets the amount.More…
string cardType [get, set]
Gets or sets the type of the card.More…
string orderId [get, set]
Gets or sets the order identifier.More…
CoreTip tip [get, set]
Gets or sets the tip.More…
CoreTax tax [get, set]
Gets or sets the tax.More…
bool autoReady [get, set]
Gets or sets a value indicating whether the transaction is set automatically to READY in the open batch.More…
CoreSignature signature [get, set]
Gets or sets the signature.More…
string deviceType [get, set]
Gets or sets the type of the device.More…
bool fallback [get, set]
Gets or sets a value indicating whether to set the fallback.More…
string cardHolderName [get, set]
Gets or sets the name of the card holder.More…
string serial [get, set]
Gets or sets the serial.More…
int firstDigitOfPan [get, set]
Gets or sets the first digit of pan.More…
CoreEmvType emvType [get, set]
Gets or sets the type of the transaction.More…
SignatureCollection signatureCollection [get, set]
Gets or sets the signature collection.More…
CoreTransactionInputMethod coreTransactionInputMethod [get, set]
Gets or sets the core transaction mode.Start the transaction in defferent mode (insert, swipe …) More…
TerminalCategory terminalCategory [get, set]
Gets or sets the terminal category.More…
SaleRequestType requestType [get, set]
Gets or sets the type of the request.More…
int cardRequestTimeout [get, set]
Gets or sets the card request timeout.More…
CoreSecureCard coreSecureCard [get, set]
Gets or sets the secure card.More…
bool isDelayedAuthEnabled [get, set]
Gets a value indicating whether the sale is delayed auth.More…
bool isSignatureRequired [get, set]
Gets a value indicating whether the sale requires signature .More…
bool isGiftCard [get, set]
Gets a value indicating whether the sale is gift card.More…
string dateTime [get, set]
Gets or sets the date time.More…
string deviceFirmwareVersion [get, set]
Gets or sets the device firmware version.More…
TransactionType transactionType [get, set]
Gets or sets the transaction type.More…
FallbackReason fallbackReason [get, set]
Gets or sets the fallback reason.More…

Detailed Description

This class represents the keyed sale request object which is send to the server to be processed.

See also

CorePayments.CoreSale

CoreSaleKeyed saleRequest = new CoreSaleKeyed(Math.Round(amount, 2, MidpointRounding.ToEven));
saleRequest.cardHolderName = "Test User";
saleRequest.cardNumber = "4111111111111111";
saleRequest.cardCvv = "123";
saleRequest.cardType = "VISA";
saleRequest.expiryDate = "1218";
Terminal.Instance.ProcessSale(saleRequest);

Constructor & Destructor Documentation

CoreSaleKeyed() [1/2]

    • CorePayments.CoreSaleKeyed.CoreSaleKeyed
    • (
    • )

  • inline

Initializes a new instance of the CoreSaleKeyed class.

CoreSaleKeyed() [2/2]

    • CorePayments.CoreSaleKeyed.CoreSaleKeyed
    • (
    • decimal
    • amount
    • )

  • inline

Initializes a new instance of the CoreSaleKeyed class.

Parameters

  • amount
  • The amount.

Property Documentation

address1

    • string CorePayments.CoreSaleKeyed.address1

  • getset

Gets or sets the address 1.

The billing address.

address2

    • string CorePayments.CoreSaleKeyed.address2

  • getset

Gets or sets the address 1.

The billing address.

cardCvv

    • string CorePayments.CoreSaleKeyed.cardCvv

  • getset

Gets or sets the card CVV.

The card CVV.

cardNumber

    • string CorePayments.CoreSaleKeyed.cardNumber

  • getset

Gets or sets the card number.

The card number.

encryptedData

    • string CorePayments.CoreSaleKeyed.encryptedData

  • getset

Gets or sets the encrypted pan.

The encrypted pan.

expiryDate

    • string CorePayments.CoreSaleKeyed.expiryDate

  • getset

Gets or sets the expiry date.

The expiry date.

ksn

    • string CorePayments.CoreSaleKeyed.ksn

  • getset

Gets or sets the KSN.

The KSN.

postCode

    • string CorePayments.CoreSaleKeyed.postCode

  • getset

Gets or sets the post code.

The billing address.