Documentation ¶
Overview ¶
Code generated by "enumerator -type IdentityState -trimprefix"; DO NOT EDIT.
Code generated by "enumerator -type PaymentState -trimprefix"; DO NOT EDIT.
Index ¶
- Variables
- type IdentityState
- func (i IdentityState) IsCompleted() bool
- func (i IdentityState) IsInProgress() bool
- func (i IdentityState) IsNotStarted() bool
- func (i IdentityState) IsPending() bool
- func (i IdentityState) IsProblem() bool
- func (i IdentityState) MarshalText() ([]byte, error)
- func (i IdentityState) String() string
- func (i *IdentityState) UnmarshalText(text []byte) error
- type IdentityStateOptions
- type PaymentState
- func (i PaymentState) IsApproved() bool
- func (i PaymentState) IsCompleted() bool
- func (i PaymentState) IsDenied() bool
- func (i PaymentState) IsInProgress() bool
- func (i PaymentState) IsMoreEvidenceRequired() bool
- func (i PaymentState) IsNotStarted() bool
- func (i PaymentState) IsPending() bool
- func (i PaymentState) MarshalText() ([]byte, error)
- func (i PaymentState) String() string
- func (i *PaymentState) UnmarshalText(text []byte) error
- type PaymentStateOptions
- type State
Constants ¶
This section is empty.
Variables ¶
View Source
var IdentityStateValues = IdentityStateOptions{ NotStarted: IdentityStateNotStarted, InProgress: IdentityStateInProgress, Pending: IdentityStatePending, Problem: IdentityStateProblem, Completed: IdentityStateCompleted, }
View Source
var PaymentStateValues = PaymentStateOptions{ NotStarted: PaymentStateNotStarted, InProgress: PaymentStateInProgress, Pending: PaymentStatePending, Approved: PaymentStateApproved, Denied: PaymentStateDenied, MoreEvidenceRequired: PaymentStateMoreEvidenceRequired, Completed: PaymentStateCompleted, }
Functions ¶
This section is empty.
Types ¶
type IdentityState ¶
type IdentityState uint8
const ( IdentityStateNotStarted IdentityState = iota IdentityStateInProgress IdentityStatePending IdentityStateProblem IdentityStateCompleted )
func ParseIdentityState ¶
func ParseIdentityState(s string) (IdentityState, error)
func (IdentityState) IsCompleted ¶
func (i IdentityState) IsCompleted() bool
func (IdentityState) IsInProgress ¶
func (i IdentityState) IsInProgress() bool
func (IdentityState) IsNotStarted ¶
func (i IdentityState) IsNotStarted() bool
func (IdentityState) IsPending ¶
func (i IdentityState) IsPending() bool
func (IdentityState) IsProblem ¶
func (i IdentityState) IsProblem() bool
func (IdentityState) MarshalText ¶
func (i IdentityState) MarshalText() ([]byte, error)
func (IdentityState) String ¶
func (i IdentityState) String() string
func (*IdentityState) UnmarshalText ¶
func (i *IdentityState) UnmarshalText(text []byte) error
type IdentityStateOptions ¶
type IdentityStateOptions struct { NotStarted IdentityState InProgress IdentityState Pending IdentityState Problem IdentityState Completed IdentityState }
type PaymentState ¶
type PaymentState uint8
const ( PaymentStateNotStarted PaymentState = iota PaymentStateInProgress PaymentStatePending PaymentStateApproved PaymentStateDenied PaymentStateMoreEvidenceRequired PaymentStateCompleted )
func ParsePaymentState ¶
func ParsePaymentState(s string) (PaymentState, error)
func (PaymentState) IsApproved ¶
func (i PaymentState) IsApproved() bool
func (PaymentState) IsCompleted ¶
func (i PaymentState) IsCompleted() bool
func (PaymentState) IsDenied ¶
func (i PaymentState) IsDenied() bool
func (PaymentState) IsInProgress ¶
func (i PaymentState) IsInProgress() bool
func (PaymentState) IsMoreEvidenceRequired ¶
func (i PaymentState) IsMoreEvidenceRequired() bool
func (PaymentState) IsNotStarted ¶
func (i PaymentState) IsNotStarted() bool
func (PaymentState) IsPending ¶
func (i PaymentState) IsPending() bool
func (PaymentState) MarshalText ¶
func (i PaymentState) MarshalText() ([]byte, error)
func (PaymentState) String ¶
func (i PaymentState) String() string
func (*PaymentState) UnmarshalText ¶
func (i *PaymentState) UnmarshalText(text []byte) error
type PaymentStateOptions ¶
type PaymentStateOptions struct { NotStarted PaymentState InProgress PaymentState Pending PaymentState Approved PaymentState Denied PaymentState MoreEvidenceRequired PaymentState Completed PaymentState }
Click to show internal directories.
Click to hide internal directories.