Class PayeeAccountDTO
A payee's account at the provider, in the four answers a platform acts on.
public record PayeeAccountDTO : IEquatable<PayeeAccountDTO>
- Inheritance
-
PayeeAccountDTO
- Implements
- Inherited Members
Remarks
These are the provider's answers, to be copied and not decided. A platform that gates a paid offer on PayoutsEnabled is reading what the provider will actually do, rather than its own guess at it.
Constructors
PayeeAccountDTO(string, bool, bool, bool, string?)
A payee's account at the provider, in the four answers a platform acts on.
public PayeeAccountDTO(string AccountId, bool ChargesEnabled, bool PayoutsEnabled, bool DetailsSubmitted, string? DisabledReason)
Parameters
AccountIdstringThe provider's identifier for the account.
ChargesEnabledboolWhether the account may be charged.
PayoutsEnabledboolWhether the provider will pay the account out. Until it is true, money sent there cannot leave.
DetailsSubmittedboolWhether onboarding was completed, which is not the same as being enabled: the provider may still be checking what was submitted.
DisabledReasonstringWhy the provider is holding the account back, when it is.
Remarks
These are the provider's answers, to be copied and not decided. A platform that gates a paid offer on PayoutsEnabled is reading what the provider will actually do, rather than its own guess at it.
Properties
AccountId
The provider's identifier for the account.
public string AccountId { get; init; }
Property Value
ChargesEnabled
Whether the account may be charged.
public bool ChargesEnabled { get; init; }
Property Value
DetailsSubmitted
Whether onboarding was completed, which is not the same as being enabled: the provider may still be checking what was submitted.
public bool DetailsSubmitted { get; init; }
Property Value
DisabledReason
Why the provider is holding the account back, when it is.
public string? DisabledReason { get; init; }
Property Value
PayoutDestination
Where the account is paid out, when a bank account was given.
public PayeePayoutDestinationDTO? PayoutDestination { get; init; }
Property Value
PayoutsEnabled
Whether the provider will pay the account out. Until it is true, money sent there cannot leave.
public bool PayoutsEnabled { get; init; }
Property Value
Requirements
What the provider still needs, field by field, for an application that collects the details in a form of its own. null when the provider did not say.
public PayeeRequirementsDTO? Requirements { get; init; }