models

package
v0.0.0-...-a1da574 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation ¶

Index ¶

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 AddBillingDetailsResult ¶

type AddBillingDetailsResult struct {
}

AddBillingDetailsResult ...

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 ¶

type AddScheduleResult struct {
	Courses []*entities.Course `json:"courses"`
}

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 ...

func NewAddUserRequest ¶

func NewAddUserRequest() *AddUserRequest

NewAddUserRequest ...

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 AddUserResult ¶

type AddUserResult struct {
}

AddUserResult ...

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 GetAccountByIDRequest ¶

type GetAccountByIDRequest struct{}

GetAccountByIDRequest ...

type GetAccountByIDResponse ¶

type GetAccountByIDResponse struct{}

GetAccountByIDResponse ...

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 ¶

type GetCourseByIDResult struct {
	Course *entities.Course `json:"course"`
}

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 ¶

type GetCourseResult struct {
	Courses []*entities.Course `json:"courses"`
}

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 ¶

type GetCoursesByOrganizationIDResult struct {
	Course *entities.Course `json:"course"`
}

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 GetCustomerByIDRequest ¶

type GetCustomerByIDRequest struct{}

GetCustomerByIDRequest ...

type GetCustomerByIDResponse ¶

type GetCustomerByIDResponse struct{}

GetCustomerByIDResponse ...

type GetCustomerByIDResult ¶

type GetCustomerByIDResult struct{}

GetCustomerByIDResult ...

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 ¶

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 ¶

type GetScheduleByIDResult struct {
	Courses []*entities.Course `json:"courses"`
}

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 ¶

type GetScheduleResult struct {
	Courses []*entities.Course `json:"courses"`
}

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 ...

func NewIdentity ¶

func NewIdentity() *Identity

NewIdentity ...

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 PostConfirmationResult ¶

type PostConfirmationResult struct {
}

PostConfirmationResult ...

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 PreSignUpResult ¶

type PreSignUpResult struct {
}

PreSignUpResult ...

func NewPreSignUpResult ¶

func NewPreSignUpResult() *PreSignUpResult

NewPreSignUpResult ...

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 RemoveAccountRequest ¶

type RemoveAccountRequest struct{}

RemoveAccountRequest ...

type RemoveAccountResponse ¶

type RemoveAccountResponse struct{}

RemoveAccountResponse ...

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 RemoveCourseParameters ¶

type RemoveCourseParameters struct{}

RemoveCourseParameters ...

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 RemoveCourseResult ¶

type RemoveCourseResult struct{}

RemoveCourseResult ...

type RemoveCustomerParameters ¶

type RemoveCustomerParameters struct{}

RemoveCustomerParameters ...

type RemoveCustomerRequest ¶

type RemoveCustomerRequest struct{}

RemoveCustomerRequest ...

type RemoveCustomerResponse ¶

type RemoveCustomerResponse struct{}

RemoveCustomerResponse ...

type RemoveCustomerResult ¶

type RemoveCustomerResult struct{}

RemoveCustomerResult ...

type RemoveEnrollmentParameters ¶

type RemoveEnrollmentParameters struct{}

RemoveEnrollmentParameters ...

type RemoveEnrollmentRequest ¶

type RemoveEnrollmentRequest struct{}

RemoveEnrollmentRequest ...

type RemoveEnrollmentResponse ¶

type RemoveEnrollmentResponse struct{}

RemoveEnrollmentResponse ...

type RemoveEnrollmentResult ¶

type RemoveEnrollmentResult struct{}

RemoveEnrollmentResult ...

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 ¶

type RemoveScheduleResult struct {
	Courses []*entities.Course `json:"courses"`
}

RemoveScheduleResult ...

func NewRemoveScheduleResult ¶

func NewRemoveScheduleResult(courses []*entities.Course) *RemoveScheduleResult

NewRemoveScheduleResult ...

func (*RemoveScheduleResult) SetCourses ¶

func (result *RemoveScheduleResult) SetCourses(courses []*entities.Course)

SetCourses ...

type RemoveUserParameters ¶

type RemoveUserParameters struct{}

RemoveUserParameters ...

type RemoveUserRequest ¶

type RemoveUserRequest struct {
	Request
	Parameters *RemoveUserParameters
}

RemoveUserRequest ...

type RemoveUserResponse ¶

type RemoveUserResponse struct {
	Response
	Result *RemoveUserResult
}

RemoveUserResponse ...

type RemoveUserResult ¶

type RemoveUserResult struct{}

RemoveUserResult ...

type Request ¶

type Request struct {
	ID       string    `json:"id"`
	Identity *Identity `json:"identity"`
}

Request ...

func (*Request) SetID ¶

func (request *Request) SetID(id string) *Request

SetID ...

func (*Request) SetIdentity ¶

func (request *Request) SetIdentity(identity *Identity) *Request

SetIdentity ...

type Response ¶

type Response struct {
	RequestID string `json:"requestId"`
}

Response ...

func (*Response) SetRequestID ¶

func (response *Response) SetRequestID(id string) *Response

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 UpdateAccountRequest ¶

type UpdateAccountRequest struct{}

UpdateAccountRequest ...

type UpdateAccountResponse ¶

type UpdateAccountResponse struct{}

UpdateAccountResponse ...

type UpdateAccountResult ¶

type UpdateAccountResult struct {
	// contains filtered or unexported fields
}

UpdateAccountResult ...

func NewUpdateAccountResult ¶

func NewUpdateAccountResult(stripeAcct *stripe.Account) *UpdateAccountResult

NewUpdateAccountResult ..

type UpdateCourseParameters ¶

type UpdateCourseParameters struct{}

UpdateCourseParameters ...

type UpdateCourseRequest ¶

type UpdateCourseRequest struct {
	Request
	Parameters *UpdateCourseParameters `json:"parameters"`
}

UpdateCourseRequest ...

type UpdateCourseResponse ¶

type UpdateCourseResponse struct {
	Response
	Result *UpdateCourseResult `json:"result"`
}

UpdateCourseResponse ...

type UpdateCourseResult ¶

type UpdateCourseResult struct{}

UpdateCourseResult ...

type UpdateCustomerParameters ¶

type UpdateCustomerParameters struct{}

UpdateCustomerParameters ...

type UpdateCustomerRequest ¶

type UpdateCustomerRequest struct{}

UpdateCustomerRequest ...

type UpdateCustomerResponse ¶

type UpdateCustomerResponse struct{}

UpdateCustomerResponse ...

type UpdateCustomerResult ¶

type UpdateCustomerResult struct{}

UpdateCustomerResult ...

type UpdateEnrollmentParameters ¶

type UpdateEnrollmentParameters struct{}

UpdateEnrollmentParameters ...

type UpdateEnrollmentRequest ¶

type UpdateEnrollmentRequest struct{}

UpdateEnrollmentRequest ...

type UpdateEnrollmentResponse ¶

type UpdateEnrollmentResponse struct{}

UpdateEnrollmentResponse ...

type UpdateEnrollmentResult ¶

type UpdateEnrollmentResult struct{}

UpdateEnrollmentResult ...

type UpdateInstructorParameters ¶

type UpdateInstructorParameters struct{}

UpdateInstructorParameters ...

type UpdateInstructorRequest ¶

type UpdateInstructorRequest struct{}

UpdateInstructorRequest ...

type UpdateInstructorResponse ¶

type UpdateInstructorResponse struct{}

UpdateInstructorResponse ...

type UpdateInstructorResult ¶

type UpdateInstructorResult struct{}

UpdateInstructorResult ...

type UpdateUserParameters ¶

type UpdateUserParameters struct{}

UpdateUserParameters ...

type UpdateUserRequest ¶

type UpdateUserRequest struct{}

UpdateUserRequest ...

type UpdateUserResponse ¶

type UpdateUserResponse struct{}

UpdateUserResponse ...

type UpdateUserResult ¶

type UpdateUserResult struct{}

UpdateUserResult ...

type UserParameters ¶

type UserParameters struct{}

UserParameters ...

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL