Documentation ¶
Index ¶
- func NewCreditRepository() domain.CreditRepository
- func NewPaymentRepository() domain.PaymentRepository
- type CreditRepository
- func (p *CreditRepository) Close()
- func (p *CreditRepository) DeleteCreditPayment(ctx context.Context, acceptNo string) error
- func (p *CreditRepository) GetCreditPayment(ctx context.Context, acceptNo string) (*domain.CreditPayment, error)
- func (p *CreditRepository) PutCreditPayment(ctx context.Context, model *domain.CreditPayment) (*domain.CreditPayment, error)
- func (p *CreditRepository) Sequence(ctx context.Context) (*int, error)
- type PaymentRepository
- func (p *PaymentRepository) Close()
- func (p *PaymentRepository) DeletePayment(ctx context.Context, orderNo string) error
- func (p *PaymentRepository) FindPayment(ctx context.Context, customerId int32, orderDateFrom string, ...) ([]*domain.Payment, error)
- func (p *PaymentRepository) GetPayment(ctx context.Context, orderNo string) (*domain.Payment, error)
- func (p *PaymentRepository) PutPayment(ctx context.Context, model *domain.Payment) (*domain.Payment, error)
- func (p *PaymentRepository) PutPaymentHistory(ctx context.Context, model *domain.Payment) error
- func (p *PaymentRepository) Sequence(ctx context.Context) (*int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreditRepository ¶
func NewCreditRepository() domain.CreditRepository
func NewPaymentRepository ¶
func NewPaymentRepository() domain.PaymentRepository
Types ¶
type CreditRepository ¶
type CreditRepository struct {
// contains filtered or unexported fields
}
func (*CreditRepository) Close ¶
func (p *CreditRepository) Close()
func (*CreditRepository) DeleteCreditPayment ¶
func (p *CreditRepository) DeleteCreditPayment(ctx context.Context, acceptNo string) error
acceptNoに該当する決済データ論理を削除
func (*CreditRepository) GetCreditPayment ¶
func (p *CreditRepository) GetCreditPayment(ctx context.Context, acceptNo string) (*domain.CreditPayment, error)
AcceptNoに該当するクレジット決済情報を取得
func (*CreditRepository) PutCreditPayment ¶
func (p *CreditRepository) PutCreditPayment(ctx context.Context, model *domain.CreditPayment) (*domain.CreditPayment, error)
決済データの登録
type PaymentRepository ¶
type PaymentRepository struct {
// contains filtered or unexported fields
}
func (*PaymentRepository) Close ¶
func (p *PaymentRepository) Close()
func (*PaymentRepository) DeletePayment ¶
func (p *PaymentRepository) DeletePayment(ctx context.Context, orderNo string) error
orderNoに該当する決済データ論理を削除
func (*PaymentRepository) FindPayment ¶
func (*PaymentRepository) GetPayment ¶
func (p *PaymentRepository) GetPayment(ctx context.Context, orderNo string) (*domain.Payment, error)
OrderNoに該当する決済データを取得
func (*PaymentRepository) PutPayment ¶
func (p *PaymentRepository) PutPayment(ctx context.Context, model *domain.Payment) (*domain.Payment, error)
決済データの登録
func (*PaymentRepository) PutPaymentHistory ¶
履歴の登録
Click to show internal directories.
Click to hide internal directories.