Versions in this module Expand all Collapse all v1 v1.0.9 Sep 22, 2021 Changes in this version + type CaptureCharge struct + ChargeID string + func (req *CaptureCharge) Describe() *core.Description + type CreateCharge struct + Amount int64 + Card string + Currency string + Customer string + Description string + DontCapture bool + Metadata map[string]interface{} + Offsite omise.OffsiteTypes + ReturnURI string + Source map[string]interface{} + func (req *CreateCharge) Describe() *core.Description + func (req *CreateCharge) MarshalJSON() ([]byte, error) + type CreateChargeSchedule struct + Amount int + Card string + Currency string + Customer string + DaysOfMonth schedule.DaysOfMonth + Description string + EndDate string + Every int + Period schedule.Period + StartDate string + WeekdayOfMonth string + Weekdays schedule.Weekdays + func (req *CreateChargeSchedule) Describe() *core.Description + func (req *CreateChargeSchedule) MarshalJSON() ([]byte, error) + type CreateCustomer struct + Card string + Description string + Email string + Metadata map[string]interface{} + func (req *CreateCustomer) Describe() *core.Description + type CreateLink struct + Amount int64 + Currency string + Description string + Multiple bool + Title string + func (req *CreateLink) Describe() *core.Description + type CreateRecipient struct + BankAccount *omise.BankAccount + Description string + Email string + Name string + TaxID string + Type omise.RecipientType + func (req *CreateRecipient) Describe() *core.Description + func (req *CreateRecipient) MarshalJSON() ([]byte, error) + type CreateRefund struct + Amount int64 + ChargeID string + Metadata map[string]interface{} + Void bool + func (req *CreateRefund) Describe() *core.Description + type CreateSource struct + Amount int64 + Bank string + Barcode string + Currency string + Email string + InstallmentTerm int64 + Name string + PhoneNumber string + StoreID string + StoreName string + TerminalID string + Type string + ZeroInterestInstallments bool + func (req *CreateSource) Describe() *core.Description + type CreateToken struct + City string + ExpirationMonth time.Month + ExpirationYear int + Name string + Number string + PostalCode string + SecurityCode string + func (req *CreateToken) Describe() *core.Description + func (req *CreateToken) MarshalJSON() ([]byte, error) + type CreateTransfer struct + Amount int64 + FailFast bool + Metadata map[string]interface{} + Recipient string + func (req *CreateTransfer) Describe() *core.Description + type CreateTransferSchedule struct + Amount int + DaysOfMonth schedule.DaysOfMonth + EndDate string + Every int + PercentageOfBalance float64 + Period schedule.Period + Recipient string + StartDate string + WeekdayOfMonth string + Weekdays schedule.Weekdays + func (req *CreateTransferSchedule) Describe() *core.Description + func (req *CreateTransferSchedule) MarshalJSON() ([]byte, error) + type DestroyCard struct + CardID string + CustomerID string + func (req *DestroyCard) Describe() *core.Description + type DestroyCustomer struct + CustomerID string + func (req *DestroyCustomer) Describe() *core.Description + type DestroyRecipient struct + RecipientID string + func (req *DestroyRecipient) Describe() *core.Description + type DestroySchedule struct + ScheduleID string + func (req *DestroySchedule) Describe() *core.Description + type DestroyTransfer struct + TransferID string + func (req *DestroyTransfer) Describe() *core.Description + type List struct + From time.Time + Limit int + Offset int + Order omise.Ordering + To time.Time + func (l List) MarshalJSON() ([]byte, error) + type ListCards struct + CustomerID string + func (req *ListCards) Describe() *core.Description + type ListChargeSchedules struct + func (req *ListChargeSchedules) Describe() *core.Description + type ListCharges struct + func (req *ListCharges) Describe() *core.Description + type ListCustomerChargeSchedules struct + CustomerID string + func (req *ListCustomerChargeSchedules) Describe() *core.Description + type ListCustomers struct + func (req *ListCustomers) Describe() *core.Description + type ListDisputes struct + State omise.DisputeStatus + func (req *ListDisputes) Describe() *core.Description + type ListEvents struct + func (req *ListEvents) Describe() *core.Description + type ListLinks struct + func (req *ListLinks) Describe() *core.Description + type ListReceipts struct + func (req *ListReceipts) Describe() *core.Description + type ListRecipientTransferSchedules struct + RecipientID string + func (req *ListRecipientTransferSchedules) Describe() *core.Description + type ListRecipients struct + func (req *ListRecipients) Describe() *core.Description + type ListRefunds struct + ChargeID string + func (req *ListRefunds) Describe() *core.Description + type ListScheduleOccurrences struct + ScheduleID string + func (req *ListScheduleOccurrences) Describe() *core.Description + type ListSchedules struct + func (req *ListSchedules) Describe() *core.Description + type ListTransactions struct + func (req *ListTransactions) Describe() *core.Description + type ListTransferSchedules struct + func (req *ListTransferSchedules) Describe() *core.Description + type ListTransfers struct + func (req *ListTransfers) Describe() *core.Description + type RetrieveAccount struct + func (req *RetrieveAccount) Describe() *core.Description + type RetrieveBalance struct + func (req *RetrieveBalance) Describe() *core.Description + type RetrieveCapability struct + func (req *RetrieveCapability) Describe() *core.Description + type RetrieveCard struct + CardID string + CustomerID string + func (req *RetrieveCard) Describe() *core.Description + type RetrieveCharge struct + ChargeID string + func (req *RetrieveCharge) Describe() *core.Description + type RetrieveCustomer struct + CustomerID string + func (req *RetrieveCustomer) Describe() *core.Description + type RetrieveDispute struct + DisputeID string + func (req *RetrieveDispute) Describe() *core.Description + type RetrieveEvent struct + EventID string + func (req *RetrieveEvent) Describe() *core.Description + type RetrieveLink struct + LinkID string + func (req *RetrieveLink) Describe() *core.Description + type RetrieveOccurrence struct + OccurrenceID string + func (req *RetrieveOccurrence) Describe() *core.Description + type RetrieveReceipt struct + ReceiptID string + func (req *RetrieveReceipt) Describe() *core.Description + type RetrieveRecipient struct + RecipientID string + func (req *RetrieveRecipient) Describe() *core.Description + type RetrieveRefund struct + ChargeID string + RefundID string + func (req *RetrieveRefund) Describe() *core.Description + type RetrieveSchedule struct + ScheduleID string + func (req *RetrieveSchedule) Describe() *core.Description + type RetrieveSource struct + SourceID string + func (req *RetrieveSource) Describe() *core.Description + type RetrieveToken struct + ID string + func (token *RetrieveToken) Describe() *core.Description + type RetrieveTransaction struct + TransactionID string + func (req *RetrieveTransaction) Describe() *core.Description + type RetrieveTransfer struct + TransferID string + func (req *RetrieveTransfer) Describe() *core.Description + type ReverseCharge struct + ChargeID string + func (req *ReverseCharge) Describe() *core.Description + type Search struct + Filters map[string]string + Order omise.Ordering + Page int + PerPage int + Query string + Scope omise.SearchScope + func (req *Search) Describe() *core.Description + type UpdateCard struct + CardID string + City string + CustomerID string + ExpirationMonth time.Month + ExpirationYear int + Name string + PostalCode string + func (req *UpdateCard) Describe() *core.Description + type UpdateCharge struct + ChargeID string + Description string + Metadata map[string]interface{} + func (req *UpdateCharge) Describe() *core.Description + type UpdateCustomer struct + Card string + CustomerID string + DefaultCard string + Description string + Email string + Metadata map[string]interface{} + func (req *UpdateCustomer) Describe() *core.Description + type UpdateDispute struct + DisputeID string + Message string + Metadata map[string]interface{} + func (req *UpdateDispute) Describe() *core.Description + type UpdateRecipient struct + BankAccount *omise.BankAccount + Description string + Email string + Name string + RecipientID string + TaxID string + Type omise.RecipientType + func (req *UpdateRecipient) Describe() *core.Description + func (req *UpdateRecipient) MarshalJSON() ([]byte, error) + type UpdateTransfer struct + Amount int64 + Metadata map[string]interface{} + TransferID string + func (req *UpdateTransfer) Describe() *core.Description