Documentation ¶
Index ¶
- type AddAccountParameters
- type AddAccountRequest
- type AddAccountResponse
- type AddAccountResult
- type AddBillingDetailsParameters
- type AddBillingDetailsRequest
- type AddBillingDetailsResponse
- type AddBillingDetailsResult
- type AddCourseParameters
- type AddCourseRequest
- type AddCourseResponse
- type AddCourseResult
- type AddCustomerParameters
- type AddCustomerRequest
- type AddCustomerResponse
- type AddCustomerResult
- type AddEnrollmentParameters
- type AddEnrollmentRequest
- type AddEnrollmentResponse
- type AddEnrollmentResult
- type AddFamilyMemberParameters
- type AddFamilyMemberRequest
- type AddFamilyMemberResponse
- type AddFamilyMemberResult
- type AddInstructorParameters
- type AddInstructorRequest
- type AddInstructorResponse
- type AddInstructorResult
- type AddPaymentMethodParameters
- func (parameters *AddPaymentMethodParameters) SetCVC(cvc *string) error
- func (parameters *AddPaymentMethodParameters) SetExpMonth(expMonth *string) error
- func (parameters *AddPaymentMethodParameters) SetExpYear(expYear *string) error
- func (parameters *AddPaymentMethodParameters) SetNumber(number *string) error
- type AddPaymentMethodRequest
- type AddPaymentMethodResponse
- type AddPaymentMethodResult
- type AddScheduleParameters
- type AddScheduleRequest
- type AddScheduleResponse
- type AddScheduleResult
- type AddUserParameters
- type AddUserRequest
- type AddUserResponse
- type AddUserResult
- type CourseParameters
- type GetAccountByBusinessIDParameters
- type GetAccountByBusinessIDRequest
- type GetAccountByBusinessIDResponse
- type GetAccountByBusinessIDResult
- type GetAccountByIDParameters
- type GetAccountByIDRequest
- type GetAccountByIDResponse
- type GetAccountByIDResult
- type GetAccountByStripeIDParameters
- type GetAccountByStripeIDRequest
- type GetAccountByStripeIDResponse
- type GetAccountByStripeIDResult
- type GetBalanceParameters
- type GetBalanceRequest
- type GetBalanceResponse
- type GetBalanceResult
- type GetBillingDetailsByIDParameters
- type GetBillingDetailsByIDRequest
- type GetBillingDetailsByIDResponse
- type GetBillingDetailsByIDResult
- type GetBillingDetailsByPaymentMethodIDParameters
- type GetBillingDetailsByPaymentMethodIDRequest
- type GetBillingDetailsByPaymentMethodIDResponse
- type GetBillingDetailsByPaymentMethodIDResult
- type GetCourseByIDParameters
- type GetCourseByIDRequest
- type GetCourseByIDResponse
- type GetCourseByIDResult
- type GetCourseParameters
- type GetCourseRequest
- type GetCourseResponse
- type GetCourseResult
- type GetCoursesByOrganizationIDParameters
- type GetCoursesByOrganizationIDRequest
- type GetCoursesByOrganizationIDResponse
- type GetCoursesByOrganizationIDResult
- type GetCustomerByAccountIDParameters
- type GetCustomerByAccountIDRequest
- type GetCustomerByAccountIDResponse
- type GetCustomerByAccountIDResult
- type GetCustomerByIDParameters
- type GetCustomerByIDRequest
- type GetCustomerByIDResponse
- type GetCustomerByIDResult
- type GetCustomerByStripeIDParameters
- type GetCustomerByStripeIDRequest
- type GetCustomerByStripeIDResponse
- type GetCustomerByStripeIDResult
- type GetCustomerByUserIDParameters
- type GetCustomerByUserIDRequest
- type GetCustomerByUserIDResponse
- type GetCustomerByUserIDResult
- type GetEnrollmentByIDParameters
- type GetEnrollmentByIDRequest
- type GetEnrollmentByIDResponse
- type GetEnrollmentByIDResult
- type GetEnrollmentsByScheduleIDParameters
- type GetEnrollmentsByScheduleIDRequest
- type GetEnrollmentsByScheduleIDResponse
- type GetEnrollmentsByScheduleIDResult
- type GetEnrollmentsByStudentIDParameters
- type GetEnrollmentsByStudentIDRequest
- type GetEnrollmentsByStudentIDResponse
- type GetEnrollmentsByStudentIDResult
- type GetInstructorByIDParameters
- type GetInstructorByIDRequest
- type GetInstructorByIDResponse
- type GetInstructorByIDResult
- type GetInstructorsByOrganizationIDParameters
- type GetInstructorsByOrganizationIDRequest
- type GetInstructorsByOrganizationIDResponse
- type GetInstructorsByOrganizationIDResult
- type GetInstructorsByUserIDParameters
- type GetInstructorsByUserIDRequest
- type GetInstructorsByUserIDResponse
- type GetInstructorsByUserIDResult
- type GetPaymentMethodByIDParameters
- type GetPaymentMethodByIDRequest
- type GetPaymentMethodByIDResponse
- type GetPaymentMethodByIDResult
- type GetPaymentMethodParameters
- type GetPaymentMethodRequest
- type GetPaymentMethodResponse
- type GetPaymentMethodResult
- type GetScheduleByIDParameters
- type GetScheduleByIDRequest
- type GetScheduleByIDResponse
- type GetScheduleByIDResult
- type GetScheduleParameters
- type GetScheduleRequest
- type GetScheduleResponse
- type GetScheduleResult
- type GetUserByIDParameters
- type GetUserByIDRequest
- type GetUserByIDResponse
- type GetUserByIDResult
- type GetUserByUsernameParameters
- type GetUserByUsernameRequest
- type GetUserByUsernameResponse
- type GetUserByUsernameResult
- type Identity
- type PaymentMethodParameters
- type PostAuthenticationRequest
- type PostAuthenticationResponse
- type PostConfirmationParameters
- type PostConfirmationRequest
- type PostConfirmationResponse
- type PostConfirmationResult
- type PreAuthenticationParameters
- type PreAuthenticationRequest
- type PreAuthenticationResponse
- type PreSignUpParameters
- type PreSignUpRequest
- type PreSignUpResponse
- type PreSignUpResult
- type RemoveAccountParameters
- type RemoveAccountRequest
- type RemoveAccountResponse
- type RemoveAccountResult
- type RemoveBillingDetailsParameters
- type RemoveBillingDetailsRequest
- type RemoveBillingDetailsResponse
- type RemoveBillingDetailsResult
- type RemoveCourseParameters
- type RemoveCourseRequest
- type RemoveCourseResponse
- type RemoveCourseResult
- type RemoveCustomerParameters
- type RemoveCustomerRequest
- type RemoveCustomerResponse
- type RemoveCustomerResult
- type RemoveEnrollmentParameters
- type RemoveEnrollmentRequest
- type RemoveEnrollmentResponse
- type RemoveEnrollmentResult
- type RemoveInstructorParameters
- type RemoveInstructorRequest
- type RemoveInstructorResponse
- type RemoveInstructorResult
- type RemoveScheduleParameters
- type RemoveScheduleRequest
- type RemoveScheduleResponse
- type RemoveScheduleResult
- type RemoveUserParameters
- type RemoveUserRequest
- type RemoveUserResponse
- type RemoveUserResult
- type Request
- type Response
- type UpdateAccountParameters
- type UpdateAccountRequest
- type UpdateAccountResponse
- type UpdateAccountResult
- type UpdateCourseParameters
- type UpdateCourseRequest
- type UpdateCourseResponse
- type UpdateCourseResult
- type UpdateCustomerParameters
- type UpdateCustomerRequest
- type UpdateCustomerResponse
- type UpdateCustomerResult
- type UpdateEnrollmentParameters
- type UpdateEnrollmentRequest
- type UpdateEnrollmentResponse
- type UpdateEnrollmentResult
- type UpdateInstructorParameters
- type UpdateInstructorRequest
- type UpdateInstructorResponse
- type UpdateInstructorResult
- type UpdateUserParameters
- type UpdateUserRequest
- type UpdateUserResponse
- type UpdateUserResult
- type UserParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAccountParameters ¶
type AddAccountParameters struct { Email *entities.Email `json:"email"` CreatedBy string `json:"created_by"` }
AddAccountParameters ...
func NewAddAccountParameters ¶
func NewAddAccountParameters(email *entities.Email) *AddAccountParameters
NewAddAccountParameters ...
func (*AddAccountParameters) GetStripeAccountParams ¶
func (params *AddAccountParameters) GetStripeAccountParams() *stripe.AccountParams
GetStripeAccountParams ...
func (*AddAccountParameters) SetCreatedBy ¶
func (params *AddAccountParameters) SetCreatedBy(id string)
SetCreatedBy ...
func (*AddAccountParameters) SetEmail ¶
func (params *AddAccountParameters) SetEmail(email *entities.Email)
SetEmail ...
type AddAccountRequest ¶
type AddAccountRequest struct { Request Params *AddAccountParameters `json:"parameters"` }
AddAccountRequest ...
func NewAddAccountRequest ¶
func NewAddAccountRequest(id string, identity *Identity, params *AddAccountParameters) *AddAccountRequest
NewAddAccountRequest ...
func (*AddAccountRequest) SetParams ¶
func (req *AddAccountRequest) SetParams(params *AddAccountParameters)
SetParams ...
type AddAccountResponse ¶
type AddAccountResponse struct { Response Result *AddAccountResult `json:"result"` }
AddAccountResponse ...
func NewAddAccountResponse ¶
func NewAddAccountResponse(requestID string, result *AddAccountResult) *AddAccountResponse
NewAddAccountResponse ...
func (*AddAccountResponse) SetResult ¶
func (response *AddAccountResponse) SetResult(result *AddAccountResult)
SetResult ...
type AddAccountResult ¶
type AddAccountResult struct { ID string `json:"id"` // contains filtered or unexported fields }
AddAccountResult ...
func NewAddAccountResult ¶
func NewAddAccountResult(acct *entities.Account, stripeAcct *stripe.Account) *AddAccountResult
NewAddAccountResult ...
func (*AddAccountResult) GetAccount ¶
func (result *AddAccountResult) GetAccount() *entities.Account
GetAccount ...
func (*AddAccountResult) GetStripeAccount ¶
func (result *AddAccountResult) GetStripeAccount() *stripe.Account
GetStripeAccount ...
func (*AddAccountResult) SetAccount ¶
func (result *AddAccountResult) SetAccount(acct *entities.Account)
SetAccount ...
func (*AddAccountResult) SetStripeAccount ¶
func (result *AddAccountResult) SetStripeAccount(stripeAcct *stripe.Account)
SetStripeAccount ...
type AddBillingDetailsParameters ¶
type AddBillingDetailsParameters struct { }
AddBillingDetailsParameters ...
type AddBillingDetailsRequest ¶
type AddBillingDetailsRequest struct { Request Parameters *AddBillingDetailsParameters `json:"parameters"` }
AddBillingDetailsRequest ...
type AddBillingDetailsResponse ¶
type AddBillingDetailsResponse struct { Response Result *AddBillingDetailsResult `json:"result"` }
AddBillingDetailsResponse ...
type AddCourseParameters ¶
type AddCourseParameters struct {
Name string `json:"name"`
}
AddCourseParameters ...
func NewAddCourseParameters ¶
func NewAddCourseParameters(name string) *AddCourseParameters
NewAddCourseParameters ...
func (*AddCourseParameters) SetName ¶
func (parameters *AddCourseParameters) SetName(name string)
SetName ...
type AddCourseRequest ¶
type AddCourseRequest struct { Request Parameters *AddCourseParameters `json:"parameters"` }
AddCourseRequest ...
func NewAddCourseRequest ¶
func NewAddCourseRequest(id string, identity *Identity, parameters *AddCourseParameters) *AddCourseRequest
NewAddCourseRequest ...
func (*AddCourseRequest) SetParameters ¶
func (request *AddCourseRequest) SetParameters(parameters *AddCourseParameters)
SetParameters ...
type AddCourseResponse ¶
type AddCourseResponse struct { Response Result *AddCourseResult `json:"result"` }
AddCourseResponse ...
func NewAddCourseResponse ¶
func NewAddCourseResponse(requestID string, result *AddCourseResult) *AddCourseResponse
NewAddCourseResponse ...
func (*AddCourseResponse) SetResult ¶
func (response *AddCourseResponse) SetResult(result *AddCourseResult)
SetResult ...
type AddCourseResult ¶
type AddCourseResult struct {
ID string `json:"id"`
}
AddCourseResult ...
func NewAddCourseResult ¶
func NewAddCourseResult(crs *entities.Course) *AddCourseResult
NewAddCourseResult ...
type AddCustomerParameters ¶
type AddCustomerParameters struct{}
AddCustomerParameters ...
func NewAddCustomerParameters ¶
func NewAddCustomerParameters() *AddCustomerParameters
NewAddCustomerParameters ...
type AddCustomerRequest ¶
type AddCustomerRequest struct { Request Parameters *AddCustomerParameters }
AddCustomerRequest ...
func NewAddCustomerRequest ¶
func NewAddCustomerRequest(id string, parameters *AddCustomerParameters) *AddCustomerRequest
NewAddCustomerRequest ...
type AddCustomerResponse ¶
type AddCustomerResponse struct { Response Result *AddCustomerResult }
AddCustomerResponse ...
func NewAddCustomerResponse ¶
func NewAddCustomerResponse() *AddCustomerResponse
NewAddCustomerResponse ...
func (*AddCustomerResponse) SetResult ¶
func (response *AddCustomerResponse) SetResult(result *AddCustomerResult)
SetResult ...
type AddCustomerResult ¶
type AddCustomerResult struct{}
AddCustomerResult ...
func NewAddCustomerResult ¶
func NewAddCustomerResult() *AddCustomerResult
NewAddCustomerResult ...
type AddEnrollmentParameters ¶
type AddEnrollmentParameters struct {
Name *string `json:"name"`
}
AddEnrollmentParameters ...
func NewAddEnrollmentParameters ¶
func NewAddEnrollmentParameters(name *string) *AddEnrollmentParameters
NewAddEnrollmentParameters ...
func (*AddEnrollmentParameters) SetName ¶
func (parameters *AddEnrollmentParameters) SetName(name *string)
SetName ...
type AddEnrollmentRequest ¶
type AddEnrollmentRequest struct { Request Parameters *AddEnrollmentParameters `json:"parameters"` }
AddEnrollmentRequest ...
func NewAddEnrollmentRequest ¶
func NewAddEnrollmentRequest(id string, identity *Identity, parameters *AddEnrollmentParameters) *AddEnrollmentRequest
NewAddEnrollmentRequest ...
func (*AddEnrollmentRequest) SetParameters ¶
func (request *AddEnrollmentRequest) SetParameters(parameters *AddEnrollmentParameters)
SetParameters ...
type AddEnrollmentResponse ¶
type AddEnrollmentResponse struct { Response Result *AddEnrollmentResult `json:"result"` }
AddEnrollmentResponse ...
func NewAddEnrollmentResponse ¶
func NewAddEnrollmentResponse(requestID string, result *AddEnrollmentResult) *AddEnrollmentResponse
NewAddEnrollmentResponse ...
func (*AddEnrollmentResponse) SetResult ¶
func (response *AddEnrollmentResponse) SetResult(result *AddEnrollmentResult)
SetResult ...
type AddEnrollmentResult ¶
type AddEnrollmentResult struct {
ID string `json:"id"`
}
AddEnrollmentResult ...
type AddFamilyMemberParameters ¶
type AddFamilyMemberParameters struct{}
AddFamilyMemberParameters ...
type AddFamilyMemberRequest ¶
type AddFamilyMemberRequest struct { Request Parameters *AddFamilyMemberParameters `json:"parameters"` }
AddFamilyMemberRequest ...
type AddFamilyMemberResponse ¶
type AddFamilyMemberResponse struct { Response Result *AddFamilyMemberResult `json:"result"` }
AddFamilyMemberResponse ...
type AddFamilyMemberResult ¶
type AddFamilyMemberResult struct {
ID string `json:"id"`
}
AddFamilyMemberResult ...
type AddInstructorParameters ¶
type AddInstructorParameters struct {
Name *string `json:"name"`
}
AddInstructorParameters ...
type AddInstructorRequest ¶
type AddInstructorRequest struct { Request Parameters *AddInstructorParameters `json:"parameters"` }
AddInstructorRequest ...
func NewAddInstructorRequest ¶
func NewAddInstructorRequest(id string, identity *Identity, parameters *AddInstructorParameters) *AddInstructorRequest
NewAddInstructorRequest ...
func (*AddInstructorRequest) SetParameters ¶
func (request *AddInstructorRequest) SetParameters(parameters *AddInstructorParameters)
SetParameters ...
type AddInstructorResponse ¶
type AddInstructorResponse struct { Response Result *AddInstructorResult `json:"result"` }
AddInstructorResponse ...
func NewAddInstructorResponse ¶
func NewAddInstructorResponse(requestID string, result *AddInstructorResult) *AddInstructorResponse
NewAddInstructorResponse ...
func (*AddInstructorResponse) SetResult ¶
func (response *AddInstructorResponse) SetResult(result *AddInstructorResult)
SetResult ...
type AddInstructorResult ¶
type AddInstructorResult struct {
ID string `json:"id"`
}
AddInstructorResult ...
type AddPaymentMethodParameters ¶
type AddPaymentMethodParameters struct { Number *string `json:"number"` ExpMonth *string `json:"expMonth"` ExpYear *string `json:"expYear"` CVC *string `json:"cvc"` }
AddPaymentMethodParameters ...
func NewAddPaymentMethodParameters ¶
func NewAddPaymentMethodParameters() *AddPaymentMethodParameters
NewAddPaymentMethodParameters ...
func (*AddPaymentMethodParameters) SetCVC ¶
func (parameters *AddPaymentMethodParameters) SetCVC(cvc *string) error
SetCVC ...
func (*AddPaymentMethodParameters) SetExpMonth ¶
func (parameters *AddPaymentMethodParameters) SetExpMonth(expMonth *string) error
SetExpMonth ...
func (*AddPaymentMethodParameters) SetExpYear ¶
func (parameters *AddPaymentMethodParameters) SetExpYear(expYear *string) error
SetExpYear ...
func (*AddPaymentMethodParameters) SetNumber ¶
func (parameters *AddPaymentMethodParameters) SetNumber(number *string) error
SetNumber ...
type AddPaymentMethodRequest ¶
type AddPaymentMethodRequest struct { Request Parameters *AddPaymentMethodParameters `json:"parameters"` }
AddPaymentMethodRequest ...
func NewAddPaymentMethodRequest ¶
func NewAddPaymentMethodRequest(id string, identity *Identity, parameters *AddPaymentMethodParameters) *AddPaymentMethodRequest
NewAddPaymentMethodRequest ...
func (*AddPaymentMethodRequest) SetParameters ¶
func (request *AddPaymentMethodRequest) SetParameters(parameters *AddPaymentMethodParameters)
SetParameters ...
func (*AddPaymentMethodRequest) Validate ¶
func (request *AddPaymentMethodRequest) Validate() error
Validate ...
type AddPaymentMethodResponse ¶
type AddPaymentMethodResponse struct { Response Result *AddPaymentMethodResult `json:"result"` }
AddPaymentMethodResponse ...
func NewAddPaymentMethodResponse ¶
func NewAddPaymentMethodResponse(requestID string, result *AddPaymentMethodResult) *AddPaymentMethodResponse
NewAddPaymentMethodResponse ...
func (*AddPaymentMethodResponse) SetResult ¶
func (response *AddPaymentMethodResponse) SetResult(result *AddPaymentMethodResult)
SetResult ...
type AddPaymentMethodResult ¶
type AddPaymentMethodResult struct {
ID string `json:"id"`
}
AddPaymentMethodResult ...
type AddScheduleParameters ¶
type AddScheduleParameters struct {
OrganizationID *string `json:"organization_id"`
}
AddScheduleParameters ...
func NewAddScheduleParameters ¶
func NewAddScheduleParameters(organizationID *string) *AddScheduleParameters
NewAddScheduleParameters ...
func (*AddScheduleParameters) SetOrganizationID ¶
func (parameters *AddScheduleParameters) SetOrganizationID(id *string)
SetOrganizationID ...
type AddScheduleRequest ¶
type AddScheduleRequest struct { Request Parameters *AddScheduleParameters }
AddScheduleRequest ...
func NewAddScheduleRequest ¶
func NewAddScheduleRequest(id string, identity *Identity, parameters *AddScheduleParameters) *AddScheduleRequest
NewAddScheduleRequest ...
func (*AddScheduleRequest) SetParameters ¶
func (request *AddScheduleRequest) SetParameters(parameters *AddScheduleParameters)
SetParameters ...
type AddScheduleResponse ¶
type AddScheduleResponse struct { Response Result *AddScheduleResult `json:"result"` }
AddScheduleResponse ...
func NewAddScheduleResponse ¶
func NewAddScheduleResponse(requestID string, result *AddScheduleResult) *AddScheduleResponse
NewAddScheduleResponse ...
func (*AddScheduleResponse) SetResult ¶
func (response *AddScheduleResponse) SetResult(result *AddScheduleResult)
SetResult ...
type AddScheduleResult ¶
AddScheduleResult ...
func NewAddScheduleResult ¶
func NewAddScheduleResult(courses []*entities.Course) *AddScheduleResult
NewAddScheduleResult ...
func (*AddScheduleResult) SetCourses ¶
func (result *AddScheduleResult) SetCourses(courses []*entities.Course)
SetCourses ...
type AddUserParameters ¶
type AddUserParameters struct {
Subject *string `json:"subject"`
}
AddUserParameters ...
func NewAddUserParameters ¶
func NewAddUserParameters() *AddUserParameters
NewAddUserParameters ...
type AddUserRequest ¶
type AddUserRequest struct { Request Parameters *AddUserParameters }
AddUserRequest ...
type AddUserResponse ¶
type AddUserResponse struct { Response Result *AddUserResult }
AddUserResponse ...
func NewAddUserResponse ¶
func NewAddUserResponse(requestID string, result *AddUserResult) *AddUserResponse
NewAddUserResponse ...
func (*AddUserResponse) SetResult ¶
func (res *AddUserResponse) SetResult(result *AddUserResult)
SetResult ...
type CourseParameters ¶
type CourseParameters struct { OrganizationID *string `json:"organization_id"` Name *string `json:"name"` Description *string `json:"description"` }
CourseParameters ...
type GetAccountByBusinessIDParameters ¶
type GetAccountByBusinessIDParameters struct { BusinessID string `json:"business_id"` // contains filtered or unexported fields }
GetAccountByBusinessIDParameters ...
func NewGetAccountByBusinessIDParameters ¶
func NewGetAccountByBusinessIDParameters(stripeAcctParams *stripe.AccountParams) *GetAccountByBusinessIDParameters
NewGetAccountByBusinessIDParameters ...
func (*GetAccountByBusinessIDParameters) GetStripeAccountParams ¶
func (params *GetAccountByBusinessIDParameters) GetStripeAccountParams() *stripe.AccountParams
GetStripeAccountParams ...
func (*GetAccountByBusinessIDParameters) SetStripeAccountParams ¶
func (params *GetAccountByBusinessIDParameters) SetStripeAccountParams(stripeAcctParams *stripe.AccountParams)
SetStripeAccountParams ...
type GetAccountByBusinessIDRequest ¶
type GetAccountByBusinessIDRequest struct{}
GetAccountByBusinessIDRequest ...
type GetAccountByBusinessIDResponse ¶
type GetAccountByBusinessIDResponse struct{}
GetAccountByBusinessIDResponse ...
type GetAccountByBusinessIDResult ¶
type GetAccountByBusinessIDResult struct {
// contains filtered or unexported fields
}
GetAccountByBusinessIDResult ...
func NewGetAccountByBusinessIDResult ¶
func NewGetAccountByBusinessIDResult(acct *entities.Account, stripeAcct *stripe.Account) *GetAccountByBusinessIDResult
NewGetAccountByBusinessIDResult ...
func (*GetAccountByBusinessIDResult) GetAccount ¶
func (res *GetAccountByBusinessIDResult) GetAccount() *entities.Account
GetAccount ...
func (*GetAccountByBusinessIDResult) GetStripeAccount ¶
func (res *GetAccountByBusinessIDResult) GetStripeAccount() *stripe.Account
GetStripeAccount ...
type GetAccountByIDParameters ¶
type GetAccountByIDParameters struct {
ID string `json:"id"`
}
GetAccountByIDParameters ...
func (*GetAccountByIDParameters) GetStripeAccountParams ¶
func (params *GetAccountByIDParameters) GetStripeAccountParams() *stripe.AccountParams
GetStripeAccountParams ...
type GetAccountByIDResult ¶
type GetAccountByIDResult struct {
// contains filtered or unexported fields
}
GetAccountByIDResult ...
func NewGetAccountByIDResult ¶
func NewGetAccountByIDResult(acct *entities.Account, stripeAcct *stripe.Account) *GetAccountByIDResult
NewGetAccountByIDResult ...
func (*GetAccountByIDResult) GetAccount ¶
func (res *GetAccountByIDResult) GetAccount() *entities.Account
GetAccount ...
func (*GetAccountByIDResult) GetStripeAccount ¶
func (res *GetAccountByIDResult) GetStripeAccount() *stripe.Account
GetStripeAccount ...
type GetAccountByStripeIDParameters ¶
type GetAccountByStripeIDParameters struct {
StripeID string `json:"stripe_id"`
}
GetAccountByStripeIDParameters ...
func (*GetAccountByStripeIDParameters) GetStripeAccountParams ¶
func (params *GetAccountByStripeIDParameters) GetStripeAccountParams() *stripe.AccountParams
GetStripeAccountParams ...
type GetAccountByStripeIDRequest ¶
type GetAccountByStripeIDRequest struct{}
GetAccountByStripeIDRequest ...
type GetAccountByStripeIDResponse ¶
type GetAccountByStripeIDResponse struct{}
GetAccountByStripeIDResponse ...
type GetAccountByStripeIDResult ¶
type GetAccountByStripeIDResult struct {
// contains filtered or unexported fields
}
GetAccountByStripeIDResult ...
func NewGetAccountByStripeIDResult ¶
func NewGetAccountByStripeIDResult(account *entities.Account, stripeAccount *stripe.Account) *GetAccountByStripeIDResult
NewGetAccountByStripeIDResult ...
func (*GetAccountByStripeIDResult) GetAccount ¶
func (res *GetAccountByStripeIDResult) GetAccount() *entities.Account
GetAccount ...
func (*GetAccountByStripeIDResult) GetStripeAccount ¶
func (res *GetAccountByStripeIDResult) GetStripeAccount() *stripe.Account
GetStripeAccount ...
type GetBalanceParameters ¶
type GetBalanceParameters struct { AccountID string `json:"accountId"` // contains filtered or unexported fields }
GetBalanceParameters ...
func NewGetBalanceParameters ¶
func NewGetBalanceParameters(accountID string) *GetBalanceParameters
NewGetBalanceParameters ...
func (*GetBalanceParameters) GetStripeBalanceParams ¶
func (params *GetBalanceParameters) GetStripeBalanceParams() *stripe.BalanceParams
GetStripeBalanceParams ...
func (*GetBalanceParameters) SetAccountID ¶
func (params *GetBalanceParameters) SetAccountID(accountID string)
SetAccountID ...
type GetBalanceRequest ¶
type GetBalanceRequest struct { Request Parameters *GetBalanceParameters `json:"parameters"` }
GetBalanceRequest ...
func NewGetBalanceRequest ¶
func NewGetBalanceRequest(id string, identity *Identity, parameters *GetBalanceParameters) *GetBalanceRequest
NewGetBalanceRequest ...
func (*GetBalanceRequest) SetParameters ¶
func (request *GetBalanceRequest) SetParameters(parameters *GetBalanceParameters)
SetParameters ...
type GetBalanceResponse ¶
type GetBalanceResponse struct { Response Result *stripe.Balance `json:"result"` }
GetBalanceResponse ...
func NewGetBalanceResponse ¶
func NewGetBalanceResponse(requestID string, result *stripe.Balance) *GetBalanceResponse
NewGetBalanceResponse ...
func (*GetBalanceResponse) SetResult ¶
func (response *GetBalanceResponse) SetResult(result *stripe.Balance)
SetResult ...
type GetBalanceResult ¶
type GetBalanceResult struct {
// contains filtered or unexported fields
}
GetBalanceResult ...
func NewGetBalanceResult ¶
func NewGetBalanceResult(stripeBalance *stripe.Balance) *GetBalanceResult
NewGetBalanceResult ...
func (*GetBalanceResult) GetStripeBalance ¶
func (res *GetBalanceResult) GetStripeBalance() *stripe.Balance
GetStripeBalance ...
type GetBillingDetailsByIDParameters ¶
type GetBillingDetailsByIDParameters struct {
ID string `json:"id"`
}
GetBillingDetailsByIDParameters ...
type GetBillingDetailsByIDRequest ¶
type GetBillingDetailsByIDRequest struct { Request Parameters *GetBillingDetailsByIDParameters }
GetBillingDetailsByIDRequest ...
type GetBillingDetailsByIDResponse ¶
type GetBillingDetailsByIDResponse struct { Response Result *GetBillingDetailsByIDResult `json:"result"` }
GetBillingDetailsByIDResponse ...
type GetBillingDetailsByIDResult ¶
type GetBillingDetailsByIDResult struct {
BillingDetails *entities.BillingDetails `json:"billing_details"`
}
GetBillingDetailsByIDResult ...
type GetBillingDetailsByPaymentMethodIDParameters ¶
type GetBillingDetailsByPaymentMethodIDParameters struct {
ID string `json:"id"`
}
GetBillingDetailsByPaymentMethodIDParameters ...
type GetBillingDetailsByPaymentMethodIDRequest ¶
type GetBillingDetailsByPaymentMethodIDRequest struct { Request Parameters *GetBillingDetailsByPaymentMethodIDParameters }
GetBillingDetailsByPaymentMethodIDRequest ...
type GetBillingDetailsByPaymentMethodIDResponse ¶
type GetBillingDetailsByPaymentMethodIDResponse struct { Response Result *GetBillingDetailsByPaymentMethodIDResult `json:"result"` }
GetBillingDetailsByPaymentMethodIDResponse ...
type GetBillingDetailsByPaymentMethodIDResult ¶
type GetBillingDetailsByPaymentMethodIDResult struct {
BillingDetails []*entities.BillingDetails `json:"billing_details"`
}
GetBillingDetailsByPaymentMethodIDResult ...
type GetCourseByIDParameters ¶
type GetCourseByIDParameters struct {
ID string `json:"id"`
}
GetCourseByIDParameters ...
type GetCourseByIDRequest ¶
type GetCourseByIDRequest struct { Request Parameters *GetCourseByIDParameters }
GetCourseByIDRequest ...
func NewGetCourseByIDRequest ¶
func NewGetCourseByIDRequest(id string, identity *Identity, parameters *GetCourseByIDParameters) *GetCourseByIDRequest
NewGetCourseByIDRequest ...
func (*GetCourseByIDRequest) SetParameters ¶
func (request *GetCourseByIDRequest) SetParameters(parameters *GetCourseByIDParameters) *GetCourseByIDRequest
SetParameters ...
type GetCourseByIDResponse ¶
type GetCourseByIDResponse struct { Response Result *GetCourseByIDResult `json:"result"` }
GetCourseByIDResponse ...
func NewGetCourseByIDResponse ¶
func NewGetCourseByIDResponse(requestID string, result *GetCourseByIDResult) *GetCourseByIDResponse
NewGetCourseByIDResponse ...
func (*GetCourseByIDResponse) SetResult ¶
func (response *GetCourseByIDResponse) SetResult(result *GetCourseByIDResult)
SetResult ...
type GetCourseByIDResult ¶
GetCourseByIDResult ...
func NewGetCourseByIDResult ¶
func NewGetCourseByIDResult(course *entities.Course) *GetCourseByIDResult
NewGetCourseByIDResult ...
type GetCourseParameters ¶
type GetCourseParameters struct {
OrganizationID *string `json:"organization_id"`
}
GetCourseParameters ...
func NewGetCourseParameters ¶
func NewGetCourseParameters(organizationID *string) *GetCourseParameters
NewGetCourseParameters ...
func (*GetCourseParameters) SetOrganizationID ¶
func (parameters *GetCourseParameters) SetOrganizationID(id *string)
SetOrganizationID ...
type GetCourseRequest ¶
type GetCourseRequest struct { Request Parameters *GetCourseParameters }
GetCourseRequest ...
func NewGetCourseRequest ¶
func NewGetCourseRequest(id string, identity *Identity, parameters *GetCourseParameters) *GetCourseRequest
NewGetCourseRequest ...
func (*GetCourseRequest) SetParameters ¶
func (request *GetCourseRequest) SetParameters(parameters *GetCourseParameters)
SetParameters ...
type GetCourseResponse ¶
type GetCourseResponse struct { Response Result *GetCourseResult `json:"result"` }
GetCourseResponse ...
func NewGetCourseResponse ¶
func NewGetCourseResponse(requestID string, result *GetCourseResult) *GetCourseResponse
NewGetCourseResponse ...
func (*GetCourseResponse) SetResult ¶
func (response *GetCourseResponse) SetResult(result *GetCourseResult)
SetResult ...
type GetCourseResult ¶
GetCourseResult ...
func NewGetCourseResult ¶
func NewGetCourseResult(courses []*entities.Course) *GetCourseResult
NewGetCourseResult ...
func (*GetCourseResult) SetCourses ¶
func (result *GetCourseResult) SetCourses(courses []*entities.Course)
SetCourses ...
type GetCoursesByOrganizationIDParameters ¶
type GetCoursesByOrganizationIDParameters struct {
OrganizationID string `json:"organization_id"`
}
GetCoursesByOrganizationIDParameters ...
type GetCoursesByOrganizationIDRequest ¶
type GetCoursesByOrganizationIDRequest struct { Request Parameters *GetCoursesByOrganizationIDParameters }
GetCoursesByOrganizationIDRequest ...
type GetCoursesByOrganizationIDResponse ¶
type GetCoursesByOrganizationIDResponse struct { Response Result *GetCoursesByOrganizationIDResult `json:"result"` }
GetCoursesByOrganizationIDResponse ...
type GetCoursesByOrganizationIDResult ¶
GetCoursesByOrganizationIDResult ...
type GetCustomerByAccountIDParameters ¶
type GetCustomerByAccountIDParameters struct{}
GetCustomerByAccountIDParameters ...
type GetCustomerByAccountIDRequest ¶
type GetCustomerByAccountIDRequest struct{}
GetCustomerByAccountIDRequest ...
type GetCustomerByAccountIDResponse ¶
type GetCustomerByAccountIDResponse struct{}
GetCustomerByAccountIDResponse ...
type GetCustomerByAccountIDResult ¶
type GetCustomerByAccountIDResult struct{}
GetCustomerByAccountIDResult ...
type GetCustomerByIDParameters ¶
type GetCustomerByIDParameters struct {
ID string `json:"id"`
}
GetCustomerByIDParameters ...
type GetCustomerByStripeIDParameters ¶
type GetCustomerByStripeIDParameters struct{}
GetCustomerByStripeIDParameters ...
type GetCustomerByStripeIDRequest ¶
type GetCustomerByStripeIDRequest struct{}
GetCustomerByStripeIDRequest ...
type GetCustomerByStripeIDResponse ¶
type GetCustomerByStripeIDResponse struct{}
GetCustomerByStripeIDResponse ...
type GetCustomerByStripeIDResult ¶
type GetCustomerByStripeIDResult struct{}
GetCustomerByStripeIDResult ...
type GetCustomerByUserIDParameters ¶
type GetCustomerByUserIDParameters struct{}
GetCustomerByUserIDParameters ...
type GetCustomerByUserIDRequest ¶
type GetCustomerByUserIDRequest struct { Request Parameters *GetCustomerByUserIDParameters `json:"parameters"` }
GetCustomerByUserIDRequest ...
type GetCustomerByUserIDResponse ¶
type GetCustomerByUserIDResponse struct { Response Result *GetCustomerByUserIDResult `json:"result"` }
GetCustomerByUserIDResponse ...
type GetCustomerByUserIDResult ¶
type GetCustomerByUserIDResult struct{}
GetCustomerByUserIDResult ...
type GetEnrollmentByIDParameters ¶
type GetEnrollmentByIDParameters struct {
ID string `json:"id"`
}
GetEnrollmentByIDParameters ...
type GetEnrollmentByIDRequest ¶
type GetEnrollmentByIDRequest struct { Request Parameters *GetEnrollmentByIDParameters }
GetEnrollmentByIDRequest ...
type GetEnrollmentByIDResponse ¶
type GetEnrollmentByIDResponse struct { Response Result *GetEnrollmentByIDResult `json:"result"` }
GetEnrollmentByIDResponse ...
type GetEnrollmentByIDResult ¶
type GetEnrollmentByIDResult struct {
Enrollment *entities.Enrollment `json:"course"`
}
GetEnrollmentByIDResult ...
type GetEnrollmentsByScheduleIDParameters ¶
type GetEnrollmentsByScheduleIDParameters struct {
ScheduleID string `json:"schedule_id"`
}
GetEnrollmentsByScheduleIDParameters ...
type GetEnrollmentsByScheduleIDRequest ¶
type GetEnrollmentsByScheduleIDRequest struct { Request Parameters *GetEnrollmentsByScheduleIDParameters }
GetEnrollmentsByScheduleIDRequest ...
type GetEnrollmentsByScheduleIDResponse ¶
type GetEnrollmentsByScheduleIDResponse struct { Response Result *GetEnrollmentsByScheduleIDResult `json:"result"` }
GetEnrollmentsByScheduleIDResponse ...
type GetEnrollmentsByScheduleIDResult ¶
type GetEnrollmentsByScheduleIDResult struct {
Enrollments []*entities.Enrollment `json:"enrollments"`
}
GetEnrollmentsByScheduleIDResult ...
type GetEnrollmentsByStudentIDParameters ¶
type GetEnrollmentsByStudentIDParameters struct {
StudentID string `json:"student_id"`
}
GetEnrollmentsByStudentIDParameters ...
type GetEnrollmentsByStudentIDRequest ¶
type GetEnrollmentsByStudentIDRequest struct { Request Parameters *GetEnrollmentsByStudentIDParameters }
GetEnrollmentsByStudentIDRequest ...
type GetEnrollmentsByStudentIDResponse ¶
type GetEnrollmentsByStudentIDResponse struct { Response Result *GetEnrollmentsByStudentIDResult `json:"result"` }
GetEnrollmentsByStudentIDResponse ...
type GetEnrollmentsByStudentIDResult ¶
type GetEnrollmentsByStudentIDResult struct {
Enrollments []*entities.Enrollment `json:"enrollments"`
}
GetEnrollmentsByStudentIDResult ...
type GetInstructorByIDParameters ¶
type GetInstructorByIDParameters struct {
ID string `json:"id"`
}
GetInstructorByIDParameters ...
type GetInstructorByIDRequest ¶
type GetInstructorByIDRequest struct { Request Parameters *GetInstructorByIDParameters }
GetInstructorByIDRequest ...
type GetInstructorByIDResponse ¶
type GetInstructorByIDResponse struct { Response Result *GetInstructorByIDResult `json:"result"` }
GetInstructorByIDResponse ...
type GetInstructorByIDResult ¶
type GetInstructorByIDResult struct {
Instructor *entities.Instructor `json:"instructor"`
}
GetInstructorByIDResult ...
type GetInstructorsByOrganizationIDParameters ¶
type GetInstructorsByOrganizationIDParameters struct {
ScheduleID string `json:"schedule_id"`
}
GetInstructorsByOrganizationIDParameters ...
type GetInstructorsByOrganizationIDRequest ¶
type GetInstructorsByOrganizationIDRequest struct { Request Parameters *GetInstructorsByOrganizationIDParameters }
GetInstructorsByOrganizationIDRequest ...
type GetInstructorsByOrganizationIDResponse ¶
type GetInstructorsByOrganizationIDResponse struct { Response Result *GetInstructorsByOrganizationIDResult `json:"result"` }
GetInstructorsByOrganizationIDResponse ...
type GetInstructorsByOrganizationIDResult ¶
type GetInstructorsByOrganizationIDResult struct {
Enrollments []*entities.Enrollment `json:"enrollments"`
}
GetInstructorsByOrganizationIDResult ...
type GetInstructorsByUserIDParameters ¶
type GetInstructorsByUserIDParameters struct {
UserID string `json:"user_id"`
}
GetInstructorsByUserIDParameters ...
type GetInstructorsByUserIDRequest ¶
type GetInstructorsByUserIDRequest struct { Request Parameters *GetInstructorsByUserIDParameters }
GetInstructorsByUserIDRequest ...
type GetInstructorsByUserIDResponse ¶
type GetInstructorsByUserIDResponse struct { Response Result *GetInstructorsByUserIDResult `json:"result"` }
GetInstructorsByUserIDResponse ...
type GetInstructorsByUserIDResult ¶
type GetInstructorsByUserIDResult struct {
Enrollments []*entities.Enrollment `json:"enrollments"`
}
GetInstructorsByUserIDResult ...
type GetPaymentMethodByIDParameters ¶
type GetPaymentMethodByIDParameters struct {
ID *string `json:"id"`
}
GetPaymentMethodByIDParameters ...
func NewGetPaymentMethodByIDParameters ¶
func NewGetPaymentMethodByIDParameters(id *string) *GetPaymentMethodByIDParameters
NewGetPaymentMethodByIDParameters ...
type GetPaymentMethodByIDRequest ¶
type GetPaymentMethodByIDRequest struct { Request Parameters *GetPaymentMethodByIDParameters }
GetPaymentMethodByIDRequest ...
func NewGetPaymentMethodByIDRequest ¶
func NewGetPaymentMethodByIDRequest(id string, identity *Identity, parameters *GetPaymentMethodByIDParameters) *GetPaymentMethodByIDRequest
NewGetPaymentMethodByIDRequest ...
func (*GetPaymentMethodByIDRequest) SetParameters ¶
func (request *GetPaymentMethodByIDRequest) SetParameters(parameters *GetPaymentMethodByIDParameters) *GetPaymentMethodByIDRequest
SetParameters ...
type GetPaymentMethodByIDResponse ¶
type GetPaymentMethodByIDResponse struct { Response Result *GetPaymentMethodByIDResult `json:"result"` }
GetPaymentMethodByIDResponse ...
func NewGetPaymentMethodByIDResponse ¶
func NewGetPaymentMethodByIDResponse(requestID string, result *GetPaymentMethodByIDResult) *GetPaymentMethodByIDResponse
NewGetPaymentMethodByIDResponse ...
func (*GetPaymentMethodByIDResponse) SetResult ¶
func (response *GetPaymentMethodByIDResponse) SetResult(result *GetPaymentMethodByIDResult)
SetResult ...
type GetPaymentMethodByIDResult ¶
type GetPaymentMethodByIDResult struct {
ID *string `json:"id"`
}
GetPaymentMethodByIDResult ...
type GetPaymentMethodParameters ¶
type GetPaymentMethodParameters struct {
CustomerID *string `json:"customer_id"`
}
GetPaymentMethodParameters ...
func NewGetPaymentMethodParameters ¶
func NewGetPaymentMethodParameters(customerID *string) *GetPaymentMethodParameters
NewGetPaymentMethodParameters ...
type GetPaymentMethodRequest ¶
type GetPaymentMethodRequest struct { Request Parameters *GetPaymentMethodParameters }
GetPaymentMethodRequest ...
func NewGetPaymentMethodRequest ¶
func NewGetPaymentMethodRequest(id string, identity *Identity, parameters *GetPaymentMethodParameters) *GetPaymentMethodRequest
NewGetPaymentMethodRequest ...
func (*GetPaymentMethodRequest) SetParameters ¶
func (request *GetPaymentMethodRequest) SetParameters(parameters *GetPaymentMethodParameters) *GetPaymentMethodRequest
SetParameters ...
type GetPaymentMethodResponse ¶
type GetPaymentMethodResponse struct { Response Result *GetPaymentMethodResult `json:"result"` }
GetPaymentMethodResponse ...
func NewGetPaymentMethodResponse ¶
func NewGetPaymentMethodResponse(requestID string, result *GetPaymentMethodResult) *GetPaymentMethodResponse
NewGetPaymentMethodResponse ...
func (*GetPaymentMethodResponse) SetResult ¶
func (response *GetPaymentMethodResponse) SetResult(result *GetPaymentMethodResult)
SetResult ...
type GetPaymentMethodResult ¶
type GetPaymentMethodResult struct {
PaymentMethods []*entities.PaymentMethod `json:"paymentMethods"`
}
GetPaymentMethodResult ...
func NewGetPaymentMethodResult ¶
func NewGetPaymentMethodResult(paymentMethods []*entities.PaymentMethod) *GetPaymentMethodResult
NewGetPaymentMethodResult ...
type GetScheduleByIDParameters ¶
type GetScheduleByIDParameters struct {
OrganizationID *string `json:"organization_id"`
}
GetScheduleByIDParameters ...
func NewGetScheduleByIDParameters ¶
func NewGetScheduleByIDParameters(organizationID *string) *GetScheduleByIDParameters
NewGetScheduleByIDParameters ...
func (*GetScheduleByIDParameters) SetOrganizationID ¶
func (parameters *GetScheduleByIDParameters) SetOrganizationID(id *string)
SetOrganizationID ...
type GetScheduleByIDRequest ¶
type GetScheduleByIDRequest struct { Request Parameters *GetScheduleByIDParameters }
GetScheduleByIDRequest ...
func NewGetScheduleByIDRequest ¶
func NewGetScheduleByIDRequest(id string, identity *Identity, parameters *GetScheduleByIDParameters) *GetScheduleByIDRequest
NewGetScheduleByIDRequest ...
func (*GetScheduleByIDRequest) SetParameters ¶
func (request *GetScheduleByIDRequest) SetParameters(parameters *GetScheduleByIDParameters)
SetParameters ...
type GetScheduleByIDResponse ¶
type GetScheduleByIDResponse struct { Response Result *GetScheduleByIDResult `json:"result"` }
GetScheduleByIDResponse ...
func NewGetScheduleByIDResponse ¶
func NewGetScheduleByIDResponse(requestID string, result *GetScheduleByIDResult) *GetScheduleByIDResponse
NewGetScheduleByIDResponse ...
func (*GetScheduleByIDResponse) SetResult ¶
func (response *GetScheduleByIDResponse) SetResult(result *GetScheduleByIDResult)
SetResult ...
type GetScheduleByIDResult ¶
GetScheduleByIDResult ...
func NewGetScheduleByIDResult ¶
func NewGetScheduleByIDResult(courses []*entities.Course) *GetScheduleByIDResult
NewGetScheduleByIDResult ...
func (*GetScheduleByIDResult) SetCourses ¶
func (result *GetScheduleByIDResult) SetCourses(courses []*entities.Course)
SetCourses ...
type GetScheduleParameters ¶
type GetScheduleParameters struct {
OrganizationID *string `json:"organization_id"`
}
GetScheduleParameters ...
func NewGetScheduleParameters ¶
func NewGetScheduleParameters(organizationID *string) *GetScheduleParameters
NewGetScheduleParameters ...
func (*GetScheduleParameters) SetOrganizationID ¶
func (parameters *GetScheduleParameters) SetOrganizationID(id *string)
SetOrganizationID ...
type GetScheduleRequest ¶
type GetScheduleRequest struct { Request Parameters *GetScheduleParameters }
GetScheduleRequest ...
func NewGetScheduleRequest ¶
func NewGetScheduleRequest(id string, identity *Identity, parameters *GetScheduleParameters) *GetScheduleRequest
NewGetScheduleRequest ...
func (*GetScheduleRequest) SetParameters ¶
func (request *GetScheduleRequest) SetParameters(parameters *GetScheduleParameters)
SetParameters ...
type GetScheduleResponse ¶
type GetScheduleResponse struct { Response Result *GetScheduleResult `json:"result"` }
GetScheduleResponse ...
func NewGetScheduleResponse ¶
func NewGetScheduleResponse(requestID string, result *GetScheduleResult) *GetScheduleResponse
NewGetScheduleResponse ...
func (*GetScheduleResponse) SetResult ¶
func (response *GetScheduleResponse) SetResult(result *GetScheduleResult)
SetResult ...
type GetScheduleResult ¶
GetScheduleResult ...
func NewGetScheduleResult ¶
func NewGetScheduleResult(courses []*entities.Course) *GetScheduleResult
NewGetScheduleResult ...
func (*GetScheduleResult) SetCourses ¶
func (result *GetScheduleResult) SetCourses(courses []*entities.Course)
SetCourses ...
type GetUserByIDParameters ¶
type GetUserByIDParameters struct { UserPoolID string `json:"id"` Username string `json:"username"` }
GetUserByIDParameters ...
type GetUserByIDRequest ¶
type GetUserByIDRequest struct { Request Parameters *GetUserByIDParameters }
GetUserByIDRequest ...
type GetUserByIDResponse ¶
type GetUserByIDResponse struct { Response Result *GetUserByIDResult }
GetUserByIDResponse ...
type GetUserByIDResult ¶
type GetUserByIDResult struct {
User *cognitoidentityprovider.AdminGetUserOutput `json:"user"`
}
GetUserByIDResult ...
type GetUserByUsernameParameters ¶
type GetUserByUsernameParameters struct {
ID string `json:"id"`
}
GetUserByUsernameParameters ...
type GetUserByUsernameRequest ¶
type GetUserByUsernameRequest struct { Request Parameters *GetUserByUsernameParameters }
GetUserByUsernameRequest ...
type GetUserByUsernameResponse ¶
type GetUserByUsernameResponse struct { Response Result *GetUserByUsernameResult }
GetUserByUsernameResponse ...
type GetUserByUsernameResult ¶
type GetUserByUsernameResult struct {
User *cognitoidentityprovider.AdminGetUserOutput `json:"user"`
}
GetUserByUsernameResult ...
type Identity ¶
type Identity struct { CognitoUsername string `json:"cognito_username"` CustomRequirements string `json:"customer:requirements"` CustomType string `json:"customer:type"` EmailVerified string `json:"email_verified"` Email string `json:"email"` EventID string `json:"event_id"` Issuer string `json:"issuer"` Subject string `json:"subject"` RequestID string `json:"request_id"` }
Identity ...
type PaymentMethodParameters ¶
type PaymentMethodParameters struct { Number *string `json:"number"` ExpMonth *string `json:"expMonth"` ExpYear *string `json:"expYear"` CVC *string `json:"cvc"` }
PaymentMethodParameters ...
func NewPaymentMethodParameters ¶
func NewPaymentMethodParameters() *PaymentMethodParameters
NewPaymentMethodParameters ...
func (*PaymentMethodParameters) SetCVC ¶
func (parameters *PaymentMethodParameters) SetCVC(cvc *string) error
SetCVC ...
func (*PaymentMethodParameters) SetExpMonth ¶
func (parameters *PaymentMethodParameters) SetExpMonth(expMonth *string) error
SetExpMonth ...
func (*PaymentMethodParameters) SetExpYear ¶
func (parameters *PaymentMethodParameters) SetExpYear(expYear *string) error
SetExpYear ...
func (*PaymentMethodParameters) SetNumber ¶
func (parameters *PaymentMethodParameters) SetNumber(number *string) error
SetNumber ...
type PostAuthenticationRequest ¶
type PostAuthenticationRequest struct {
Request
}
PostAuthenticationRequest ...
type PostAuthenticationResponse ¶
type PostAuthenticationResponse struct {
Response
}
PostAuthenticationResponse ...
func NewPostAuthenticationResponse ¶
func NewPostAuthenticationResponse() *PostAuthenticationResponse
NewPostAuthenticationResponse ...
type PostConfirmationParameters ¶
type PostConfirmationParameters struct { Subject *string `json:"subject"` Email *string `json:"email"` EmailVerified bool `json:"email_verified"` Type *string `json:"type"` }
PostConfirmationParameters ...
func NewPostConfirmationParameters ¶
func NewPostConfirmationParameters() *PostConfirmationParameters
NewPostConfirmationParameters ...
type PostConfirmationRequest ¶
type PostConfirmationRequest struct { Request Parameters *PostConfirmationParameters }
PostConfirmationRequest ...
func NewPostConfirmationRequest ¶
func NewPostConfirmationRequest() *PostConfirmationRequest
NewPostConfirmationRequest ...
func (*PostConfirmationRequest) SetParameters ¶
func (request *PostConfirmationRequest) SetParameters(parameters *PostConfirmationParameters)
SetParameters ...
type PostConfirmationResponse ¶
type PostConfirmationResponse struct { Response Result *PostConfirmationResult }
PostConfirmationResponse ...
func NewPostConfirmationResponse ¶
func NewPostConfirmationResponse(requestID string, result *PostConfirmationResult) *PostConfirmationResponse
NewPostConfirmationResponse ...
func (*PostConfirmationResponse) SetResult ¶
func (response *PostConfirmationResponse) SetResult(result *PostConfirmationResult)
SetResult ...
type PreAuthenticationParameters ¶
type PreAuthenticationParameters struct { }
PreAuthenticationParameters ...
type PreAuthenticationRequest ¶
type PreAuthenticationRequest struct {
Request
}
PreAuthenticationRequest ...
type PreAuthenticationResponse ¶
type PreAuthenticationResponse struct {
Response
}
PreAuthenticationResponse ...
type PreSignUpParameters ¶
type PreSignUpParameters struct { Email *entities.Email `json:"email"` UserPoolID *string `json:"userPoolId"` }
PreSignUpParameters ...
func NewPreSignUpParameters ¶
func NewPreSignUpParameters(email *entities.Email, userPoolID *string) *PreSignUpParameters
NewPreSignUpParameters ...
func (*PreSignUpParameters) SetEmail ¶
func (parameters *PreSignUpParameters) SetEmail(email *entities.Email)
SetEmail ...
func (*PreSignUpParameters) SetUserPoolID ¶
func (parameters *PreSignUpParameters) SetUserPoolID(userPoolID *string)
SetUserPoolID ...
type PreSignUpRequest ¶
type PreSignUpRequest struct { Request Parameters *PreSignUpParameters `json:"parameters"` }
PreSignUpRequest ...
func NewPreSignUpRequest ¶
func NewPreSignUpRequest(id string, parameters *PreSignUpParameters) *PreSignUpRequest
NewPreSignUpRequest ...
func (*PreSignUpRequest) SetParameters ¶
func (request *PreSignUpRequest) SetParameters(parameters *PreSignUpParameters)
SetParameters ...
type PreSignUpResponse ¶
type PreSignUpResponse struct { Response Result *PreSignUpResult `json:"result"` }
PreSignUpResponse ...
func NewPreSignUpResponse ¶
func NewPreSignUpResponse(requestID string, result *PreSignUpResult) *PreSignUpResponse
NewPreSignUpResponse ...
func (*PreSignUpResponse) SetResult ¶
func (response *PreSignUpResponse) SetResult(result *PreSignUpResult)
SetResult ...
type RemoveAccountParameters ¶
type RemoveAccountParameters struct { ID string `json:"id"` // contains filtered or unexported fields }
RemoveAccountParameters ...
func (*RemoveAccountParameters) GetStripeParams ¶
func (params *RemoveAccountParameters) GetStripeParams() *stripe.AccountParams
GetStripeParams ...
type RemoveAccountResult ¶
type RemoveAccountResult struct {
// contains filtered or unexported fields
}
RemoveAccountResult ...
func NewRemoveAccountResult ¶
func NewRemoveAccountResult(acct *entities.Account, stripeAcct *stripe.Account) *RemoveAccountResult
NewRemoveAccountResult ...
type RemoveBillingDetailsParameters ¶
type RemoveBillingDetailsParameters struct{}
RemoveBillingDetailsParameters ...
type RemoveBillingDetailsRequest ¶
type RemoveBillingDetailsRequest struct{}
RemoveBillingDetailsRequest ...
type RemoveBillingDetailsResponse ¶
type RemoveBillingDetailsResponse struct{}
RemoveBillingDetailsResponse ...
type RemoveBillingDetailsResult ¶
type RemoveBillingDetailsResult struct{}
RemoveBillingDetailsResult ...
type RemoveCourseRequest ¶
type RemoveCourseRequest struct { Request Parameters *RemoveCourseParameters `json:"parameters"` }
RemoveCourseRequest ...
type RemoveCourseResponse ¶
type RemoveCourseResponse struct { RequestID string `json:"request_id"` Result *RemoveCourseResult `json:"result"` }
RemoveCourseResponse ...
type RemoveCustomerParameters ¶
type RemoveCustomerParameters struct{}
RemoveCustomerParameters ...
type RemoveEnrollmentParameters ¶
type RemoveEnrollmentParameters struct{}
RemoveEnrollmentParameters ...
type RemoveEnrollmentResponse ¶
type RemoveEnrollmentResponse struct{}
RemoveEnrollmentResponse ...
type RemoveInstructorParameters ¶
type RemoveInstructorParameters struct {
Name *string `json:"name"`
}
RemoveInstructorParameters ...
func NewRemoveInstructorParameters ¶
func NewRemoveInstructorParameters(name *string) *RemoveInstructorParameters
NewRemoveInstructorParameters ...
func (*RemoveInstructorParameters) SetName ¶
func (parameters *RemoveInstructorParameters) SetName(name *string)
SetName ...
type RemoveInstructorRequest ¶
type RemoveInstructorRequest struct { Request Parameters *RemoveInstructorParameters `json:"parameters"` }
RemoveInstructorRequest ...
func NewRemoveInstructorRequest ¶
func NewRemoveInstructorRequest(id string, identity *Identity, parameters *RemoveInstructorParameters) *RemoveInstructorRequest
NewRemoveInstructorRequest ...
func (*RemoveInstructorRequest) SetParameters ¶
func (request *RemoveInstructorRequest) SetParameters(parameters *RemoveInstructorParameters)
SetParameters ...
type RemoveInstructorResponse ¶
type RemoveInstructorResponse struct { Response Result *RemoveInstructorResult `json:"result"` }
RemoveInstructorResponse ...
func NewRemoveInstructorResponse ¶
func NewRemoveInstructorResponse(requestID string, result *RemoveInstructorResult) *RemoveInstructorResponse
NewRemoveInstructorResponse ...
func (*RemoveInstructorResponse) SetResult ¶
func (response *RemoveInstructorResponse) SetResult(result *RemoveInstructorResult)
SetResult ...
type RemoveInstructorResult ¶
type RemoveInstructorResult struct {
ID string `json:"id"`
}
RemoveInstructorResult ...
type RemoveScheduleParameters ¶
type RemoveScheduleParameters struct {
OrganizationID *string `json:"organization_id"`
}
RemoveScheduleParameters ...
func NewRemoveScheduleParameters ¶
func NewRemoveScheduleParameters(organizationID *string) *RemoveScheduleParameters
NewRemoveScheduleParameters ...
func (*RemoveScheduleParameters) SetOrganizationID ¶
func (parameters *RemoveScheduleParameters) SetOrganizationID(id *string)
SetOrganizationID ...
type RemoveScheduleRequest ¶
type RemoveScheduleRequest struct { Request Parameters *RemoveScheduleParameters }
RemoveScheduleRequest ...
func NewRemoveScheduleRequest ¶
func NewRemoveScheduleRequest(id string, identity *Identity, parameters *RemoveScheduleParameters) *RemoveScheduleRequest
NewRemoveScheduleRequest ...
func (*RemoveScheduleRequest) SetParameters ¶
func (request *RemoveScheduleRequest) SetParameters(parameters *RemoveScheduleParameters)
SetParameters ...
type RemoveScheduleResponse ¶
type RemoveScheduleResponse struct { Response Result *RemoveScheduleResult `json:"result"` }
RemoveScheduleResponse ...
func NewRemoveScheduleResponse ¶
func NewRemoveScheduleResponse(requestID string, result *RemoveScheduleResult) *RemoveScheduleResponse
NewRemoveScheduleResponse ...
func (*RemoveScheduleResponse) SetResult ¶
func (response *RemoveScheduleResponse) SetResult(result *RemoveScheduleResult)
SetResult ...
type RemoveScheduleResult ¶
RemoveScheduleResult ...
func NewRemoveScheduleResult ¶
func NewRemoveScheduleResult(courses []*entities.Course) *RemoveScheduleResult
NewRemoveScheduleResult ...
func (*RemoveScheduleResult) SetCourses ¶
func (result *RemoveScheduleResult) SetCourses(courses []*entities.Course)
SetCourses ...
type RemoveUserRequest ¶
type RemoveUserRequest struct { Request Parameters *RemoveUserParameters }
RemoveUserRequest ...
type RemoveUserResponse ¶
type RemoveUserResponse struct { Response Result *RemoveUserResult }
RemoveUserResponse ...
type Response ¶
type Response struct {
RequestID string `json:"requestId"`
}
Response ...
func (*Response) SetRequestID ¶
SetRequestID ...
type UpdateAccountParameters ¶
type UpdateAccountParameters struct { ID string `json:"id"` // contains filtered or unexported fields }
UpdateAccountParameters ...
func (*UpdateAccountParameters) GetStripeAccountParams ¶
func (params *UpdateAccountParameters) GetStripeAccountParams() *stripe.AccountParams
GetStripeAccountParams ...
type UpdateAccountResult ¶
type UpdateAccountResult struct {
// contains filtered or unexported fields
}
UpdateAccountResult ...
func NewUpdateAccountResult ¶
func NewUpdateAccountResult(stripeAcct *stripe.Account) *UpdateAccountResult
NewUpdateAccountResult ..
type UpdateCourseRequest ¶
type UpdateCourseRequest struct { Request Parameters *UpdateCourseParameters `json:"parameters"` }
UpdateCourseRequest ...
type UpdateCourseResponse ¶
type UpdateCourseResponse struct { Response Result *UpdateCourseResult `json:"result"` }
UpdateCourseResponse ...
type UpdateCustomerParameters ¶
type UpdateCustomerParameters struct{}
UpdateCustomerParameters ...
type UpdateEnrollmentParameters ¶
type UpdateEnrollmentParameters struct{}
UpdateEnrollmentParameters ...
type UpdateEnrollmentResponse ¶
type UpdateEnrollmentResponse struct{}
UpdateEnrollmentResponse ...
type UpdateInstructorParameters ¶
type UpdateInstructorParameters struct{}
UpdateInstructorParameters ...
type UpdateInstructorResponse ¶
type UpdateInstructorResponse struct{}
UpdateInstructorResponse ...
Source Files ¶
- add_account_parameters.go
- add_account_request.go
- add_account_response.go
- add_account_result.go
- add_billing_details_parameters.go
- add_billing_details_request.go
- add_billing_details_response.go
- add_billing_details_result.go
- add_course_parameters.go
- add_course_request.go
- add_course_response.go
- add_course_result.go
- add_customer_parameters.go
- add_customer_request.go
- add_customer_response.go
- add_customer_result.go
- add_enrollment_parameters.go
- add_enrollment_request.go
- add_enrollment_response.go
- add_enrollment_result.go
- add_family_member_parameters.go
- add_family_member_request.go
- add_family_member_response.go
- add_family_member_result.go
- add_instructor_parameters.go
- add_instructor_request.go
- add_instructor_response.go
- add_instructor_result.go
- add_payment_method_parameters.go
- add_payment_method_request.go
- add_payment_method_response.go
- add_payment_method_result.go
- add_schedule_parameters.go
- add_schedule_request.go
- add_schedule_response.go
- add_schedule_result.go
- add_user_parameters.go
- add_user_request.go
- add_user_response.go
- add_user_result.go
- course_parameters.go
- get_account_by_business_id_parameters.go
- get_account_by_business_id_request.go
- get_account_by_business_id_response.go
- get_account_by_business_id_result.go
- get_account_by_id_parameters.go
- get_account_by_id_request.go
- get_account_by_id_response.go
- get_account_by_id_result.go
- get_account_by_stripe_id_parameters.go
- get_account_by_stripe_id_request.go
- get_account_by_stripe_id_response.go
- get_account_by_stripe_id_result.go
- get_balance_parameters.go
- get_balance_request.go
- get_balance_response.go
- get_balance_result.go
- get_billing_details_by_id_parameters.go
- get_billing_details_by_id_request.go
- get_billing_details_by_id_response.go
- get_billing_details_by_id_result.go
- get_billing_details_by_payment_method_id_parameters.go
- get_billing_details_by_payment_method_id_request.go
- get_billing_details_by_payment_method_id_response.go
- get_billing_details_by_payment_method_id_result.go
- get_course_by_id_parameters.go
- get_course_by_id_request.go
- get_course_by_id_response.go
- get_course_by_id_result.go
- get_course_parameters.go
- get_course_request.go
- get_course_response.go
- get_course_result.go
- get_courses_by_organization_id_parameters.go
- get_courses_by_organization_id_request.go
- get_courses_by_organization_id_response.go
- get_courses_by_organization_id_result.go
- get_customer_by_account_id_parameters.go
- get_customer_by_account_id_request.go
- get_customer_by_account_id_response.go
- get_customer_by_account_id_result.go
- get_customer_by_id_parameters.go
- get_customer_by_id_request.go
- get_customer_by_id_response.go
- get_customer_by_id_result.go
- get_customer_by_stripe_id_parameters.go
- get_customer_by_stripe_id_request.go
- get_customer_by_stripe_id_response.go
- get_customer_by_stripe_id_result.go
- get_customer_by_user_id_parameters.go
- get_customer_by_user_id_request.go
- get_customer_by_user_id_response.go
- get_customer_by_user_id_result.go
- get_enrollment_by_id_parameters.go
- get_enrollment_by_id_request.go
- get_enrollment_by_id_response.go
- get_enrollment_by_id_result.go
- get_enrollments_by_schedule_id_parameters.go
- get_enrollments_by_schedule_id_request.go
- get_enrollments_by_schedule_id_response.go
- get_enrollments_by_schedule_id_result.go
- get_enrollments_by_student_id_parameters.go
- get_enrollments_by_student_id_request.go
- get_enrollments_by_student_id_response.go
- get_enrollments_by_student_id_result.go
- get_instructor_by_id_parameters.go
- get_instructor_by_id_request.go
- get_instructor_by_id_response.go
- get_instructor_by_id_result.go
- get_instructors_by_organization_id_parameters.go
- get_instructors_by_organization_id_request.go
- get_instructors_by_organization_id_response.go
- get_instructors_by_organization_id_result.go
- get_instructors_by_user_id_parameters.go
- get_instructors_by_user_id_request.go
- get_instructors_by_user_id_response.go
- get_instructors_by_user_id_result.go
- get_payment_method_by_id_parameters.go
- get_payment_method_by_id_request.go
- get_payment_method_by_id_response.go
- get_payment_method_by_id_result.go
- get_payment_method_parameters.go
- get_payment_method_request.go
- get_payment_method_response.go
- get_payment_method_result.go
- get_schedule_by_id_parameters.go
- get_schedule_by_id_request.go
- get_schedule_by_id_response.go
- get_schedule_by_id_result.go
- get_schedule_parameters.go
- get_schedule_request.go
- get_schedule_response.go
- get_schedule_result.go
- get_user_by_id_parameters.go
- get_user_by_id_request.go
- get_user_by_id_response.go
- get_user_by_id_result.go
- get_user_by_username_parameters.go
- get_user_by_username_request.go
- get_user_by_username_response.go
- get_user_by_username_result.go
- identity.go
- payment_method_parameters.go
- post_authentication_request.go
- post_authentication_response.go
- post_confirmation_parameters.go
- post_confirmation_request.go
- post_confirmation_response.go
- post_confirmation_result.go
- pre_authentication_parameters.go
- pre_authentication_request.go
- pre_authentication_response.go
- pre_sign_up_parameters.go
- pre_sign_up_request.go
- pre_sign_up_response.go
- pre_sign_up_result.go
- remove_account_parameters.go
- remove_account_request.go
- remove_account_response.go
- remove_account_result.go
- remove_billing_details_parameters.go
- remove_billing_details_request.go
- remove_billing_details_response.go
- remove_billing_details_result.go
- remove_course_parameters.go
- remove_course_request.go
- remove_course_response.go
- remove_course_result.go
- remove_customer_parameters.go
- remove_customer_request.go
- remove_customer_response.go
- remove_customer_result.go
- remove_enrollment_parameters.go
- remove_enrollment_request.go
- remove_enrollment_response.go
- remove_enrollment_result.go
- remove_instructor_parameters.go
- remove_instructor_request.go
- remove_instructor_response.go
- remove_instructor_result.go
- remove_schedule_parameters.go
- remove_schedule_request.go
- remove_schedule_response.go
- remove_schedule_result.go
- remove_user_parameters.go
- remove_user_request.go
- remove_user_response.go
- remove_user_result.go
- request.go
- response.go
- update_account_parameters.go
- update_account_request.go
- update_account_response.go
- update_account_result.go
- update_course_parameters.go
- update_course_request.go
- update_course_response.go
- update_course_result.go
- update_customer_parameters.go
- update_customer_request.go
- update_customer_response.go
- update_customer_result.go
- update_enrollment_parameters.go
- update_enrollment_request.go
- update_enrollment_response.go
- update_enrollment_result.go
- update_instructor_parameters.go
- update_instructor_request.go
- update_instructor_response.go
- update_instructor_result.go
- update_user_parameters.go
- update_user_request.go
- update_user_response.go
- update_user_result.go
- user_parameters.go