Class coreupdate

This class represents the CoreUpdate object which is used to update the transaction to send the receipt by email or a phone number.More…

Public Member Functions

CoreUpdate (string uniqueRef)
Initializes a new instance of the CoreUpdate class.More…
CoreUpdate (string uniqueRef, string email, string mobile)
Initializes a new instance of the CoreUpdate class.More…

Properties

string uniqueRef [get, set]
Gets or sets the unique reference.More…
string email [get, set]
Gets or sets the email.More…
string mobile [get, set]
Gets or sets the mobile.More…
CoreSignature signature [get, set]
Gets or sets the signature.More…
CoreTip tipAdjustment [get, set]
Gets or sets the tip.More…

Detailed Description

This class represents the CoreUpdate object which is used to update the transaction to send the receipt by email or a phone number.

CoreUpdate sendReceipt = new CoreUpdate(uniqueRefFromLastTransaction, "test@gmail.com", "0123456789");
Terminal.Instance.UpdateTransaction(sendReceipt);

Constructor & Destructor Documentation

CoreUpdate() [1/2]

    • CorePayments.CoreUpdate.CoreUpdate
    • (
    • string
    • uniqueRef
    • )

  • inline

Initializes a new instance of the CoreUpdate class.

Parameters

  • uniqueRef
  • The unique reference.

CoreUpdate() [2/2]

    • CorePayments.CoreUpdate.CoreUpdate
    • (
    • string
    • uniqueRef,

    • string
    • email,

    • string
    • mobile

    • )

  • inline

Initializes a new instance of the CoreUpdate class.

Parameters

  • uniqueRef
  • The unique reference.

  • email
  • The email address where the reseipt will be sent to.

  • mobile
  • The mobile number where the reseipt will be sent to.

Property Documentation

email

    • string CorePayments.CoreUpdate.email

  • getset

Gets or sets the email.

The email.

mobile

    • string CorePayments.CoreUpdate.mobile

  • getset

Gets or sets the mobile.

The mobile.

signature

Gets or sets the signature.

The signature.

tipAdjustment

    • CoreTip CorePayments.CoreUpdate.tipAdjustment

  • getset

Gets or sets the tip.

The tip.

uniqueRef

    • string CorePayments.CoreUpdate.uniqueRef

  • getset

Gets or sets the unique reference.

The unique reference.