Click or drag to resize

GoCardlessMandate Class

Mandate object to pass information about a mandate. A mandate is a Direct Debit mandate with a bank account. Almost always only want 1 mandate per bank account. Can take multiple payments against a mandate. Corresponds directly to GoCardless Mandate object https://developer.gocardless.com/api-reference/#core-endpoints-mandates.
Inheritance Hierarchy
SystemObject
  NetQuarry.Services.PaymentGoCardlessMandate

Namespace:  NetQuarry.Services.Payment
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class Mandate

The GoCardlessMandate type exposes the following members.

Constructors
Properties
  NameDescription
Public propertycreated_at
Fixed timestamp, recording when this resource was created.
Public propertyid
Unique identifier, beginning with “MD”.
Public propertyIDEMPOTENCYKEY
Not part of actual object sent to GoCardless. Used in HTTP header to prevent duplicating a successful request.
Public propertylinks
IDs of things that could be related. When creating Mandate set: customer_bank_account. After Mandate is create, GoCardless sets: customer + creditor.
Public propertymetadata
Key-value store of custom data. Up to 3 keys are permitted, with key names up to 50 characters and values up to 500 characters.
Public propertynext_possible_charge_date
The earliest date a newly created payment for this mandate could be charged.
Public propertypayments_require_approval
Boolean value showing whether payments and subscriptions under this mandate require approval via an automated email before being processed.
Public propertyreference
Unique reference. Different schemes have different length and character set requirements. GoCardless will generate a unique reference satisfying the different scheme requirements if this field is left blank.
Public propertyscheme
Direct Debit scheme to which this mandate and associated payments are submitted. Can be supplied or automatically detected from the customer’s bank account. Currently only “autogiro”, “bacs”, and “sepa_core” are supported.
Public propertystatus
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also