NetQuarry.Services.Payment Namespace |
Class | Description | |
---|---|---|
BraintreeWebhook |
Handles the webhook events from braintree
You must have the web.config entry:
<add verb="POST,GET" path="braintree.ashx" type="NetQuarry.Services.Payment.BraintreeWebhook, EAP.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b1bfd4831f604c0b" validate="false" />
| |
Disbursement |
Simple version of a disbursement.
| |
GoCardless |
Objects used in GoCardless' API. See IGoCardless.
| |
GoCardlessCustomer |
Customer object to pass information about a customer.
swedish_identity_number field is NEVER set by us because it may only be supplied for Swedish customers.
Corresponds directly to GoCardless Customer object https://developer.gocardless.com/api-reference/#core-endpoints-customers.
| |
GoCardlessCustomerBankAccount |
CustomerBankAccount object to pass information about a customer bank account.
A bank account has to be tied to a customer. 1 customer can have multiple accounts.
A customer's bank accounts must be unique. GoCardless will reply with a bank_account_exists error if you try to duplicate a bank account.
Corresponds directly to GoCardless CustomerBankAccount object https://developer.gocardless.com/api-reference/#core-endpoints-customer-bank-accounts.
| |
GoCardlessError |
Error information. Set by GoCardless for response to API call instead of the expecting object if there was an error.
Corresponds directly to GoCardless Error object https://developer.gocardless.com/api-reference/#api-usage-errors.
| |
GoCardlessErrorerror_reason |
Some possible error reasons. Descriptions are from GoCardless.
| |
GoCardlessErrorerror_type |
The type of an error, depending on it's root cause.
| |
GoCardlessErrorInnerError |
Array listing any errors that have been raised in 1 of 2 formats: field + request_pointer + message, or reason + message.
| |
GoCardlessEvent |
Event object to pass information about an event.
Events are stored for all webhooks.
An event refers to a resource which has been updated,
for example a payment which has been collected,
or a mandate which has been transferred.
Corresponds directly to GoCardless Events object https://developer.gocardless.com/api-reference/#core-endpoints-events.
| |
GoCardlessEventDetail |
Details about the event. Is always set when GoCardless sends an event.
| |
GoCardlessEventDetailorigin_options |
Picklist for origin from GoCardless.
| |
GoCardlessEventinclude_options |
Picklist of options for include from GoCardless.
| |
GoCardlessEventresource_type_options |
Picklist of options for resource_type from GoCardless.
| |
GoCardlessLinks |
IDs of things that could be related.
| |
GoCardlessMandate |
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.
| |
GoCardlessMandatemandates_status |
Picklist for status from GoCardless.
| |
GoCardlessMetaClass |
Options available on all cursor-paginated endpoints.
All list/index endpoints are ordered and paginated reverse chronologically by default.
| |
GoCardlessMetaClassCreatedAt |
Date cursor options.
| |
GoCardlessMetaClassCursor |
ID cursor options:
[var before]...[returned items]...[var after]
| |
GoCardlessMetadata |
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.
| |
GoCardlessPayment |
Payment object to pass information about a payment.
Payments are taken against a mandate. Can have multiple payments against a mandate.
Corresponds directly to GoCardless Payment object https://developer.gocardless.com/api-reference/#core-endpoints-payments.
| |
GoCardlessPaymentpayments_status |
Picklist for status from GoCardless.
| |
GoCardlessRedirectFlow |
RedirectFlow object to pass information about a redirect flow.
A redirect flow can create a customer, customer bank account and mandate without needing GoCardless to approve pages.
Corresponds directly to GoCardless RedirectFlow object https://developer.gocardless.com/api-reference/#core-endpoints-redirect-flows.
| |
GoCardlessRedirectFlowPrefilledCustomer |
Info about the customer that can be filled by us/from our website.
Info be filled in the GC form in the redirect link.
Other than in the Create API, this isn't normally used.
| |
GoCardlessRefund |
Refund object to pass information about a refund.
Refund a payment.
Corresponds directly to GoCardless Refund object https://developer.gocardless.com/api-reference/#core-endpoints-refunds.
| |
GoCardlessException |
Wrapper for errors if GoCardless gives an error object.
| |
GoCardlessWebhook |
Handles webhook events from GoCardless.
You must have the web.config entry:
<add verb="POST,GET" path="gocardless.ashx" type="NetQuarry.Services.Payment.GoCardlessWebhook, EAP.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b1bfd4831f604c0b" validate="false" />
Webhooks: https://developer.gocardless.com/api-reference/#events-mandate-actions
GoCardless will try sending a webhook up to 10 times. Webhooks may arrive out of order.
All past webhooks are visible in online dashboard. Can manually retry sending webhooks from there.
Ignore unknown events because new ones might be added by GoCardless and are considered backwards compatible changes.
WebHooks are sent from: 37.58.102.70 and 37.58.102.71 (whitelist in firewall).
| |
GoCardlessWebhookArgs |
Class derived from ApplicationWebhookArgs used for incoming GoCardless webhook notifications. Adds ResourceType and Action.
See ApplicationWebhookArgs.
| |
PaymentMethod |
PaymentMethod object to pass information to create a payment method.
| |
PaymentNotification |
Notification from braintree
| |
Subscription |
Describes a Braintree subscription.
| |
Transaction |
Transaction object to store transaction details.
|
Interface | Description | |
---|---|---|
IBraintree |
Interface to the Braintree service
| |
IGoCardless |
Payment communication interface.
UK Online Direct Debit provider.
Links to GoCardless' documentation:
|
Enumeration | Description | |
---|---|---|
PaymentExpirationType |
Payment expiration behavior when adding a card.
This dictates how the expiration date is provided to the Braintree payment service in AddPaymentMethod(PaymentMethod)
which obtains the setting from the service's BraintreeAPI_PaymentExpirationType property.
| |
PaymentIncludeAttributes |
Controls which attributes to send to Braintree when creating a card. The default is none as the nonce
holds PCI compliant data for this.
This is used by the Braintree payment service in AddPaymentMethod(PaymentMethod)
which obtains the setting from the service's BraintreeAPI_PaymentIncludeAttributes property.
| |
SubscriptionStatus |
Subscription statuses.
| |
TransactionStatus |
The status of the payment Transaction, status_id
These are based on the Braintree Transaction Statuses
and more detailed information about these statuses for Braintree statuses can be found there.
|