dynamodb

package
v0.0.0-...-b543a27 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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)

決済データの登録

func (*CreditRepository) Sequence

func (p *CreditRepository) Sequence(ctx context.Context) (*int, 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 (p *PaymentRepository) FindPayment(ctx context.Context, customerId int32, orderDateFrom string, orderDateTo string) ([]*domain.Payment, error)

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

func (p *PaymentRepository) PutPaymentHistory(ctx context.Context, model *domain.Payment) error

履歴の登録

func (*PaymentRepository) Sequence

func (p *PaymentRepository) Sequence(ctx context.Context) (*int, error)

シーケンス取得

Jump to

Keyboard shortcuts

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