AuthorizeCIM: github.com/hunterlong/AuthorizeCIM Index | Files

package AuthorizeCIM

import "github.com/hunterlong/AuthorizeCIM"

Index

Package Files

authorizecim.go customer_profile.go fraud_management.go payment_transactions.go recurring_billing.go time_references.go transaction_reporting.go transaction_responses.go

func ChargeTokenCard Uses

func ChargeTokenCard()

func CreditAcceptPaymentTransaction Uses

func CreditAcceptPaymentTransaction()

func CreditBankAccount Uses

func CreditBankAccount()

func CurrentDate Uses

func CurrentDate() string

func DebitBankAccount Uses

func DebitBankAccount()

func GetAccessPaymentPage Uses

func GetAccessPaymentPage()

func GetHostedPaymentPage Uses

func GetHostedPaymentPage()

func GetProfileIds Uses

func GetProfileIds() ([]string, error)

func IsConnected Uses

func IsConnected() (bool, error)

func LastMonth Uses

func LastMonth() time.Time

func LastWeek Uses

func LastWeek() time.Time

func LastYear Uses

func LastYear() time.Time

func Now Uses

func Now() time.Time

func SendRequest Uses

func SendRequest(input []byte) ([]byte, error)

func SetAPIInfo Uses

func SetAPIInfo(name string, key string, mode string)

func UpdateSplitTenderGround Uses

func UpdateSplitTenderGround()

type ARBCreateSubscriptionRequest Uses

type ARBCreateSubscriptionRequest struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    RefID                  string                 `json:"refId,omitempty"`
    Subscription           Subscription           `json:"subscription"`
}

type ARBGetSubscriptionListRequest Uses

type ARBGetSubscriptionListRequest struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    SearchType             string                 `json:"searchType"`
    Sorting                Sorting                `json:"sorting"`
    Paging                 Paging                 `json:"paging"`
}

type ARBGetSubscriptionRequest Uses

type ARBGetSubscriptionRequest struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    RefID                  string                 `json:"refId"`
    SubscriptionID         string                 `json:"subscriptionId"`
}

type ARBUpdateSubscriptionRequest Uses

type ARBUpdateSubscriptionRequest struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    RefID                  string                 `json:"refId,omitempty"`
    SubscriptionId         string                 `json:"subscriptionId,omitempty"`
    Subscription           Subscription           `json:"subscription,omitempty"`
}

type AVS Uses

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

func (AVS) Text Uses

func (r AVS) Text() string

type Address Uses

type Address struct {
    FirstName         string `json:"firstName,omitempty"`
    LastName          string `json:"lastName,omitempty"`
    Company           string `json:"company,omitempty"`
    Address           string `json:"address,omitempty"`
    City              string `json:"city,omitempty"`
    State             string `json:"state,omitempty"`
    Zip               string `json:"zip,omitempty"`
    Country           string `json:"country,omitempty"`
    PhoneNumber       string `json:"phoneNumber,omitempty"`
    FaxNumber         string `json:"faxNumber,omitempty"`
    CustomerAddressID string `json:"customerAddressId,omitempty"`
}

type BatchList Uses

type BatchList struct {
    BatchID                      string    `json:"batchId"`
    SettlementTimeUTC            time.Time `json:"settlementTimeUTC"`
    SettlementTimeUTCSpecified   bool      `json:"settlementTimeUTCSpecified"`
    SettlementTimeLocal          string    `json:"settlementTimeLocal"`
    SettlementTimeLocalSpecified bool      `json:"settlementTimeLocalSpecified"`
    SettlementState              string    `json:"settlementState"`
    PaymentMethod                string    `json:"paymentMethod"`
}

type BatchListResponse Uses

type BatchListResponse struct {
    MessagesResponse
    BatchList []BatchList `json:"batchList,omitempty"`
}

func (BatchListResponse) List Uses

func (r BatchListResponse) List() []BatchList

type BatchStatisticsResponse Uses

type BatchStatisticsResponse struct {
    Batch struct {
        BatchID                      string       `json:"batchId"`
        SettlementTimeUTC            time.Time    `json:"settlementTimeUTC"`
        SettlementTimeUTCSpecified   bool         `json:"settlementTimeUTCSpecified"`
        SettlementTimeLocal          string       `json:"settlementTimeLocal"`
        SettlementTimeLocalSpecified bool         `json:"settlementTimeLocalSpecified"`
        SettlementState              string       `json:"settlementState"`
        PaymentMethod                string       `json:"paymentMethod"`
        Statistics                   []Statistics `json:"statistics"`
    }   `json:"batch"`
    MessagesResponse
}

type BatchTransaction Uses

type BatchTransaction struct {
    TransID           string    `json:"transId"`
    SubmitTimeUTC     time.Time `json:"submitTimeUTC"`
    SubmitTimeLocal   string    `json:"submitTimeLocal"`
    TransactionStatus string    `json:"transactionStatus"`
    InvoiceNumber     string    `json:"invoiceNumber"`
    FirstName         string    `json:"firstName"`
    LastName          string    `json:"lastName"`
    AccountType       string    `json:"accountType"`
    AccountNumber     string    `json:"accountNumber"`
    SettleAmount      float64   `json:"settleAmount"`
    MarketType        string    `json:"marketType"`
    Product           string    `json:"product"`
    FraudInformation  struct {
        FraudFilterList []string `json:"fraudFilterList"`
        FraudAction     string   `json:"fraudAction"`
    }   `json:"fraudInformation"`
}

type BillTo Uses

type BillTo struct {
    FirstName   string `json:"firstName,omitempty"`
    LastName    string `json:"lastName,omitempty"`
    Address     string `json:"address,omitempty"`
    City        string `json:"city,omitempty"`
    State       string `json:"state,omitempty"`
    Zip         string `json:"zip,omitempty"`
    Country     string `json:"country,omitempty"`
    PhoneNumber string `json:"phoneNumber,omitempty"`
}

type CreateCustomerPaymentProfile Uses

type CreateCustomerPaymentProfile struct {
    CreateCustomerPaymentProfileRequest CreateCustomerPaymentProfileRequest `json:"createCustomerPaymentProfileRequest"`
}

type CreateCustomerPaymentProfileRequest Uses

type CreateCustomerPaymentProfileRequest struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    CustomerProfileID      string                 `json:"customerProfileId"`
    PaymentProfile         PaymentProfile         `json:"paymentProfile"`
}

type CreateCustomerProfile Uses

type CreateCustomerProfile struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    Profile                Profile                `json:"profile"`
    ValidationMode         string                 `json:"validationMode"`
}

type CreateCustomerProfileRequest Uses

type CreateCustomerProfileRequest struct {
    CreateCustomerProfile CreateCustomerProfile `json:"createCustomerProfileRequest"`
}

type CreateCustomerShippingAddress Uses

type CreateCustomerShippingAddress struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    CustomerProfileID      string                 `json:"customerProfileId,omitempty"`
    Address                *Address               `json:"address,omitempty"`
}

type CreateCustomerShippingAddressRequest Uses

type CreateCustomerShippingAddressRequest struct {
    CreateCustomerShippingAddress CreateCustomerShippingAddress `json:"createCustomerShippingAddressRequest"`
}

type CreateCustomerShippingAddressResponse Uses

type CreateCustomerShippingAddressResponse struct {
    CustomerAddressID string `json:"customerAddressId,omitempty"`
    MessagesResponse
}

func CreateShipping Uses

func CreateShipping(profile Profile) (*CreateCustomerShippingAddressResponse, error)

type CreatePayment Uses

type CreatePayment struct {
    CreateTransactionRequest CreateTransactionRequest `json:"createTransactionRequest,omitempty"`
}

type CreateSubscriptionRequest Uses

type CreateSubscriptionRequest struct {
    ARBCreateSubscriptionRequest ARBCreateSubscriptionRequest `json:"ARBCreateSubscriptionRequest"`
}

type CreateTransactionRequest Uses

type CreateTransactionRequest struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication,omitempty"`
    RefID                  string                 `json:"refId,omitempty"`
    TransactionRequest     TransactionRequest     `json:"transactionRequest,omitempty"`
}

type CreditCard Uses

type CreditCard struct {
    CardNumber     string `json:"cardNumber,omitempty"`
    ExpirationDate string `json:"expirationDate,omitempty"`
    CardCode       string `json:"cardCode,omitempty"`
}

type CustomProfileResponse Uses

type CustomProfileResponse struct {
    CustomerProfileID             string        `json:"customerProfileId"`
    CustomerPaymentProfileIDList  []string      `json:"customerPaymentProfileIdList"`
    CustomerShippingAddressIDList []interface{} `json:"customerShippingAddressIdList"`
    ValidationDirectResponseList  []string      `json:"validationDirectResponseList"`
    MessagesResponse
}

func CreateProfile Uses

func CreateProfile(profile Profile) (*CustomProfileResponse, error)

type Customer Uses

type Customer struct {
    ID          string `json:"id,omitempty"`
    Email       string `json:"email,omitempty"`
    PaymentID   string `json:"paymentId,omitempty"`
    ShippingID  string `json:"shippingId,omitempty"`
    PhoneNumber string `json:"phoneNumber,omitempty"`
}

func (Customer) DeletePaymentProfile Uses

func (customer Customer) DeletePaymentProfile() (*MessagesResponse, error)

func (Customer) DeleteProfile Uses

func (customer Customer) DeleteProfile() (*MessagesResponse, error)

func (Customer) DeleteShippingProfile Uses

func (customer Customer) DeleteShippingProfile() (*MessagesResponse, error)

func (Customer) Info Uses

func (customer Customer) Info() (*GetCustomerProfileResponse, error)

func (Customer) Validate Uses

func (customer Customer) Validate() (*ValidateCustomerPaymentProfileResponse, error)

type CustomerPaymentProfile Uses

type CustomerPaymentProfile struct {
    CustomerProfileID string         `json:"customerProfileId"`
    PaymentProfile    PaymentProfile `json:"paymentProfile"`
}

func (CustomerPaymentProfile) Add Uses

func (payment CustomerPaymentProfile) Add() (*CustomerPaymentProfileResponse, error)

type CustomerPaymentProfileResponse Uses

type CustomerPaymentProfileResponse struct {
    CustomerProfileId        string `json:"customerProfileId"`
    CustomerPaymentProfileID string `json:"customerPaymentProfileId"`
    ValidationDirectResponse string `json:"validationDirectResponse"`
    MessagesResponse
}

func CreatePaymentProfile Uses

func CreatePaymentProfile(profile CustomerPaymentProfile) (*CustomerPaymentProfileResponse, error)

type CustomerProfileIdsRequest Uses

type CustomerProfileIdsRequest struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
}

type CustomerProfileIdsResponse Uses

type CustomerProfileIdsResponse struct {
    Ids      []string `json:"ids"`
    Messages struct {
        ResultCode string `json:"resultCode"`
        Message    []struct {
            Code string `json:"code"`
            Text string `json:"text"`
        }   `json:"message"`
    }   `json:"messages"`
}

type CustomerProfileRequest Uses

type CustomerProfileRequest struct {
    GetCustomerProfile GetCustomerProfile `json:"getCustomerProfileRequest"`
}

type CustomerProfiler Uses

type CustomerProfiler struct {
    CustomerProfileID         string `json:"customerProfileId,omitempty"`
    CustomerPaymentProfileID  string `json:"customerPaymentProfileId,omitempty"`
    CustomerShippingProfileID string `json:"customerAddressId,omitempty"`
}

type DeleteCustomerPaymentProfile Uses

type DeleteCustomerPaymentProfile struct {
    MerchantAuthentication   MerchantAuthentication `json:"merchantAuthentication"`
    CustomerProfileID        string                 `json:"customerProfileId"`
    CustomerPaymentProfileID string                 `json:"customerPaymentProfileId"`
}

type DeleteCustomerPaymentProfileRequest Uses

type DeleteCustomerPaymentProfileRequest struct {
    DeleteCustomerPaymentProfile DeleteCustomerPaymentProfile `json:"deleteCustomerPaymentProfileRequest"`
}

type DeleteCustomerProfile Uses

type DeleteCustomerProfile struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    CustomerProfileID      string                 `json:"customerProfileId"`
}

type DeleteCustomerProfileRequest Uses

type DeleteCustomerProfileRequest struct {
    DeleteCustomerProfile DeleteCustomerProfile `json:"deleteCustomerProfileRequest"`
}

type DeleteCustomerShippingProfile Uses

type DeleteCustomerShippingProfile struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    CustomerProfileID      string                 `json:"customerProfileId"`
    CustomerShippingID     string                 `json:"customerAddressId"`
}

type DeleteCustomerShippingProfileRequest Uses

type DeleteCustomerShippingProfileRequest struct {
    DeleteCustomerShippingProfile DeleteCustomerShippingProfile `json:"deleteCustomerShippingAddressRequest"`
}

type Duty Uses

type Duty struct {
    Amount      string `json:"amount,omitempty"`
    Name        string `json:"name,omitempty"`
    Description string `json:"description,omitempty"`
}

type FullTransaction Uses

type FullTransaction struct {
    TransID                   string    `json:"transId"`
    SubmitTimeUTC             time.Time `json:"submitTimeUTC"`
    SubmitTimeLocal           string    `json:"submitTimeLocal"`
    TransactionType           string    `json:"transactionType"`
    TransactionStatus         string    `json:"transactionStatus"`
    ResponseCode              int       `json:"responseCode"`
    ResponseReasonCode        int       `json:"responseReasonCode"`
    ResponseReasonDescription string    `json:"responseReasonDescription"`
    AVSResponse               string    `json:"AVSResponse"`
    Batch                     struct {
        BatchID                      string    `json:"batchId"`
        SettlementTimeUTC            time.Time `json:"settlementTimeUTC"`
        SettlementTimeUTCSpecified   bool      `json:"settlementTimeUTCSpecified"`
        SettlementTimeLocal          string    `json:"settlementTimeLocal"`
        SettlementTimeLocalSpecified bool      `json:"settlementTimeLocalSpecified"`
        SettlementState              string    `json:"settlementState"`
    }   `json:"batch"`
    Order struct {
        InvoiceNumber string `json:"invoiceNumber"`
    }   `json:"order"`
    RequestedAmountSpecified         bool    `json:"requestedAmountSpecified"`
    AuthAmount                       float64 `json:"authAmount"`
    SettleAmount                     float64 `json:"settleAmount"`
    PrepaidBalanceRemainingSpecified bool    `json:"prepaidBalanceRemainingSpecified"`
    TaxExempt                        bool    `json:"taxExempt"`
    TaxExemptSpecified               bool    `json:"taxExemptSpecified"`
    Payment                          struct {
        BankAccount struct {
            AccountType          int         `json:"accountType"`
            AccountTypeSpecified bool        `json:"accountTypeSpecified"`
            RoutingNumber        string      `json:"routingNumber"`
            AccountNumber        string      `json:"accountNumber"`
            NameOnAccount        string      `json:"nameOnAccount"`
            EcheckType           int         `json:"echeckType"`
            EcheckTypeSpecified  bool        `json:"echeckTypeSpecified"`
            BankName             interface{} `json:"bankName"`
        } `json:"bankAccount"`
    }   `json:"payment"`
    RecurringBilling          bool `json:"recurringBilling"`
    RecurringBillingSpecified bool `json:"recurringBillingSpecified"`
    ReturnedItems             []struct {
        ID          string    `json:"id"`
        DateUTC     time.Time `json:"dateUTC"`
        DateLocal   string    `json:"dateLocal"`
        Code        string    `json:"code"`
        Description string    `json:"description"`
    }   `json:"returnedItems"`
}

type GetBatchStatistics Uses

type GetBatchStatistics struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    BatchID                string                 `json:"batchId"`
}

type GetBatchStatisticsRequest Uses

type GetBatchStatisticsRequest struct {
    GetBatchStatistics GetBatchStatistics `json:"getBatchStatisticsRequest"`
}

type GetCustomerPaymentProfileList Uses

type GetCustomerPaymentProfileList struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    SearchType             string                 `json:"searchType"`
    Month                  string                 `json:"month"`
    Sorting                Sorting                `json:"sorting"`
    Paging                 Paging                 `json:"paging"`
}

type GetCustomerPaymentProfileListRequest Uses

type GetCustomerPaymentProfileListRequest struct {
    GetCustomerPaymentProfileList GetCustomerPaymentProfileList `json:"getCustomerPaymentProfileListRequest"`
}

type GetCustomerPaymentProfileListResponse Uses

type GetCustomerPaymentProfileListResponse struct {
    GetCustomerPaymentProfileList struct {
        MessagesResponse
        TotalNumInResultSet string `json:"totalNumInResultSet"`
        PaymentProfiles     struct {
            PaymentProfile []PaymentProfile `json:"paymentProfile"`
        }   `json:"paymentProfiles"`
    } `json:"getCustomerPaymentProfileListResponse"`
}

func GetPaymentProfileIds Uses

func GetPaymentProfileIds(month string, method string) (*GetCustomerPaymentProfileListResponse, error)

type GetCustomerProfile Uses

type GetCustomerProfile struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    CustomerProfileID      string                 `json:"customerProfileId"`
}

type GetCustomerProfileIdsRequest Uses

type GetCustomerProfileIdsRequest struct {
    CustomerProfileIdsRequest CustomerProfileIdsRequest `json:"getCustomerProfileIdsRequest"`
}

type GetCustomerProfileResponse Uses

type GetCustomerProfileResponse struct {
    Profile struct {
        PaymentProfiles    []GetPaymentProfiles  `json:"paymentProfiles,omitempty"`
        ShippingProfiles   []GetShippingProfiles `json:"shipToList,omitempty"`
        CustomerProfileID  string                `json:"customerProfileId"`
        MerchantCustomerID string                `json:"merchantCustomerId,omitempty"`
        Description        string                `json:"description,omitempty"`
        Email              string                `json:"email,omitempty"`
    }   `json:"profile"`
    SubscriptionIds []string `json:"subscriptionIds"`
    MessagesResponse
}

func GetProfile Uses

func GetProfile(customer Customer) (*GetCustomerProfileResponse, error)

func (GetCustomerProfileResponse) PaymentProfiles Uses

func (response GetCustomerProfileResponse) PaymentProfiles() []GetPaymentProfiles

func (GetCustomerProfileResponse) ShippingProfiles Uses

func (response GetCustomerProfileResponse) ShippingProfiles() []GetShippingProfiles

func (GetCustomerProfileResponse) Subscriptions Uses

func (response GetCustomerProfileResponse) Subscriptions() []string

type GetMerchantDetailsReq Uses

type GetMerchantDetailsReq struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
}

type GetMerchantDetailsRequest Uses

type GetMerchantDetailsRequest struct {
    GetMerchantDetailsReq GetMerchantDetailsReq `json:"getMerchantDetailsRequest"`
}

type GetPaymentProfiles Uses

type GetPaymentProfiles struct {
    CustomerPaymentProfileID string `json:"customerPaymentProfileId"`
    Payment                  struct {
        CreditCard struct {
            CardNumber     string `json:"cardNumber"`
            ExpirationDate string `json:"expirationDate"`
        } `json:"creditCard"`
    }   `json:"payment"`
    CustomerType string `json:"customerType"`
    BillTo       struct {
        FirstName string `json:"firstName"`
        LastName  string `json:"lastName"`
    }   `json:"billTo"`
}

type GetSettledBatchList Uses

type GetSettledBatchList struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    IncludeStatistics      string                 `json:"includeStatistics"`
    FirstSettlementDate    time.Time              `json:"firstSettlementDate"`
    LastSettlementDate     time.Time              `json:"lastSettlementDate"`
}

type GetSettledBatchListRequest Uses

type GetSettledBatchListRequest struct {
    GetSettledBatchList GetSettledBatchList `json:"getSettledBatchListRequest"`
}

type GetShippingProfiles Uses

type GetShippingProfiles struct {
    CustomerAddressID string `json:"customerAddressId"`
    FirstName         string `json:"firstName,omitempty"`
    LastName          string `json:"lastName,omitempty"`
    Company           string `json:"company,omitempty"`
    Address           string `json:"address,omitempty"`
    City              string `json:"city,omitempty"`
    State             string `json:"state,omitempty"`
    Zip               string `json:"zip,omitempty"`
    Country           string `json:"country,omitempty"`
    PhoneNumber       string `json:"phoneNumber,omitempty"`
}

type GetSubscriptionCancelRequest Uses

type GetSubscriptionCancelRequest struct {
    ARBCancelSubscriptionRequest ARBGetSubscriptionRequest `json:"ARBCancelSubscriptionRequest"`
}

type GetSubscriptionList Uses

type GetSubscriptionList struct {
    TotalNumInResultSet int `json:"totalNumInResultSet"`
    SubscriptionDetails []struct {
        ID                        int     `json:"id"`
        Name                      string  `json:"name"`
        Status                    string  `json:"status"`
        CreateTimeStampUTC        string  `json:"createTimeStampUTC"`
        FirstName                 string  `json:"firstName"`
        LastName                  string  `json:"lastName"`
        TotalOccurrences          int     `json:"totalOccurrences"`
        PastOccurrences           int     `json:"pastOccurrences"`
        PaymentMethod             string  `json:"paymentMethod"`
        AccountNumber             string  `json:"accountNumber"`
        Invoice                   string  `json:"invoice"`
        Amount                    float64 `json:"amount"`
        CurrencyCode              string  `json:"currencyCode"`
        CustomerProfileID         int     `json:"customerProfileId"`
        CustomerPaymentProfileID  int     `json:"customerPaymentProfileId,omitempty"`
        CustomerShippingProfileID int     `json:"customerShippingProfileId,omitempty"`
    }   `json:"subscriptionDetails"`
    MessagesResponse
}

func SubscriptionList Uses

func SubscriptionList(search string) (*GetSubscriptionList, error)

func (GetSubscriptionList) Count Uses

func (sub GetSubscriptionList) Count() int

type GetSubscriptionListRequest Uses

type GetSubscriptionListRequest struct {
    ARBGetSubscriptionListRequest ARBGetSubscriptionListRequest `json:"ARBGetSubscriptionListRequest"`
}

type GetSubscriptionRequest Uses

type GetSubscriptionRequest struct {
    ARBGetSubscriptionRequest ARBGetSubscriptionRequest `json:"ARBGetSubscriptionRequest"`
}

type GetSubscriptionResponse Uses

type GetSubscriptionResponse struct {
    Subscription struct {
        Name            string `json:"name"`
        PaymentSchedule struct {
            Interval struct {
                Length int    `json:"length"`
                Unit   string `json:"unit"`
            }   `json:"interval"`
            StartDate        string `json:"startDate"`
            TotalOccurrences int    `json:"totalOccurrences"`
            TrialOccurrences int    `json:"trialOccurrences"`
        }   `json:"paymentSchedule"`
        Amount      float64 `json:"amount"`
        TrialAmount float64 `json:"trialAmount"`
        Status      string  `json:"status"`
        Profile     struct {
            PaymentProfile struct {
                CustomerPaymentProfileID string `json:"customerPaymentProfileId"`
                Payment                  struct {
                    CreditCard struct {
                        CardNumber     string `json:"cardNumber"`
                        ExpirationDate string `json:"expirationDate"`
                    } `json:"creditCard"`
                }   `json:"payment"`
                CustomerType string `json:"customerType"`
                BillTo       struct {
                    FirstName string `json:"firstName"`
                    LastName  string `json:"lastName"`
                }   `json:"billTo"`
            }   `json:"paymentProfile"`
            CustomerProfileID string `json:"customerProfileId"`
            Description       string `json:"description"`
        }   `json:"profile"`
    }   `json:"subscription"`
    RefID string `json:"refId"`
    MessagesResponse
}

func (GetSubscriptionResponse) ErrorMessage Uses

func (sub GetSubscriptionResponse) ErrorMessage() string

type GetSubscriptionStatusRequest Uses

type GetSubscriptionStatusRequest struct {
    ARBGetSubscriptionStatusRequest ARBGetSubscriptionRequest `json:"ARBGetSubscriptionStatusRequest"`
}

type GetTransactionDetails Uses

type GetTransactionDetails struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    TransID                string                 `json:"transId"`
}

type GetTransactionDetailsRequest Uses

type GetTransactionDetailsRequest struct {
    GetTransactionDetails GetTransactionDetails `json:"getTransactionDetailsRequest"`
}

type GetTransactionList Uses

type GetTransactionList struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    BatchID                string                 `json:"batchId,omitempty"`
    Sorting                *Sorting               `json:"sorting,omitempty"`
    Paging                 *Paging                `json:"paging,omitempty"`
}

type GetTransactionListRequest Uses

type GetTransactionListRequest struct {
    GetTransactionList GetTransactionList `json:"getTransactionListRequest"`
}

type GetTransactionListResponse Uses

type GetTransactionListResponse struct {
    GetTransactionList struct {
        MessagesResponse
        Transactions        Transactions `json:"transactions"`
        TotalNumInResultSet int          `json:"totalNumInResultSet"`
    } `json:"getTransactionListResponse"`
}

func (*GetTransactionListResponse) Count Uses

func (r *GetTransactionListResponse) Count() int

func (*GetTransactionListResponse) List Uses

func (r *GetTransactionListResponse) List() []Transaction

type GetUnsettledBatchTransactionListRequest Uses

type GetUnsettledBatchTransactionListRequest struct {
    GetUnsettledTransactionList GetUnsettledTransactionList `json:"getUnsettledTransactionListRequest"`
}

type GetUnsettledTransactionList Uses

type GetUnsettledTransactionList struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    Sorting                *Sorting               `json:"sorting,omitempty"`
    Paging                 *Paging                `json:"paging,omitempty"`
}

type GetUnsettledTransactionListRequest Uses

type GetUnsettledTransactionListRequest struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication,omitempty"`
    Status                 string                 `json:"status,omitempty"`
}

type HeldTransactionRequest Uses

type HeldTransactionRequest struct {
    Action     string `json:"action"`
    RefTransID string `json:"refTransId"`
}

type Interval Uses

type Interval struct {
    Length string `json:"length,omitempty"`
    Unit   string `json:"unit,omitempty"`
}

func IntervalDays Uses

func IntervalDays(amount string) Interval

func IntervalMonthly Uses

func IntervalMonthly() Interval

func IntervalMonths Uses

func IntervalMonths(amount string) Interval

func IntervalQuarterly Uses

func IntervalQuarterly() Interval

func IntervalWeekly Uses

func IntervalWeekly() Interval

func IntervalYearly Uses

func IntervalYearly() Interval

type LineItem Uses

type LineItem struct {
    ItemID      string `json:"itemId,omitempty"`
    Name        string `json:"name,omitempty"`
    Description string `json:"description,omitempty"`
    Quantity    string `json:"quantity,omitempty"`
    UnitPrice   string `json:"unitPrice,omitempty"`
}

type LineItems Uses

type LineItems struct {
    LineItem []LineItem `json:"lineItem,omitempty"`
}

type MerchantAuthentication Uses

type MerchantAuthentication struct {
    Name           *string `json:"name,omitempty"`
    TransactionKey *string `json:"transactionKey,omitempty"`
}

func GetAuthentication Uses

func GetAuthentication() MerchantAuthentication

type MerchantDetailsResponse Uses

type MerchantDetailsResponse struct {
    IsTestMode bool `json:"isTestMode"`
    Processors []struct {
        Name string `json:"name"`
    }   `json:"processors"`
    MerchantName   string   `json:"merchantName"`
    GatewayID      string   `json:"gatewayId"`
    MarketTypes    []string `json:"marketTypes"`
    ProductCodes   []string `json:"productCodes"`
    PaymentMethods []string `json:"paymentMethods"`
    Currencies     []string `json:"currencies"`
    MessagesResponse
}

func GetMerchantDetails Uses

func GetMerchantDetails() (*MerchantDetailsResponse, error)

type Message Uses

type Message struct {
    Code string `json:"code"`
    Text string `json:"text"`
}

type MessageResponse Uses

type MessageResponse struct {
    ResultCode string `json:"resultCode"`
    Message    struct {
        Code string `json:"code"`
        Text string `json:"text"`
    }   `json:"message"`
}

type MessagesResponse Uses

type MessagesResponse struct {
    Messages struct {
        ResultCode string `json:"resultCode"`
        Message    []struct {
            Code string `json:"code"`
            Text string `json:"text"`
        }   `json:"message"`
    } `json:"messages"`
}

func DeletePaymentProfile Uses

func DeletePaymentProfile(customer Customer) (*MessagesResponse, error)

func DeleteProfile Uses

func DeleteProfile(customer Customer) (*MessagesResponse, error)

func DeleteShippingProfile Uses

func DeleteShippingProfile(customer Customer) (*MessagesResponse, error)

func MessageResponder Uses

func MessageResponder(d interface{}) (*MessagesResponse, error)

func UpdatePaymentProfile Uses

func UpdatePaymentProfile(profile Profile) (*MessagesResponse, error)

func UpdateProfile Uses

func UpdateProfile(profile Profile) (*MessagesResponse, error)

func UpdateShippingProfile Uses

func UpdateShippingProfile(profile Profile) (*MessagesResponse, error)

func (MessagesResponse) ErrorMessage Uses

func (r MessagesResponse) ErrorMessage() string

func (MessagesResponse) Ok Uses

func (r MessagesResponse) Ok() bool

type NewTransaction Uses

type NewTransaction struct {
    Amount     string     `json:"amount,omitempty"`
    InvoiceId  string     `json:"invoiceId,omitempty"`
    RefTransId string     `json:"refTransId,omitempty"`
    CreditCard CreditCard `json:"payment,omitempty"`
    AuthCode   string     `json:"authCode,omitempty"`
    BillTo     *BillTo    `json:"omitempty"`
}

func (NewTransaction) AuthOnly Uses

func (tranx NewTransaction) AuthOnly() (*TransactionResponse, error)

func (NewTransaction) Charge Uses

func (tranx NewTransaction) Charge() (*TransactionResponse, error)

func (NewTransaction) ChargeProfile Uses

func (tranx NewTransaction) ChargeProfile(profile Customer) (*TransactionResponse, error)

func (NewTransaction) Refund Uses

func (tranx NewTransaction) Refund() (*TransactionResponse, error)

type Paging Uses

type Paging struct {
    Limit  string `json:"limit"`
    Offset string `json:"offset"`
}

type Payment Uses

type Payment struct {
    CreditCard CreditCard `json:"creditCard,omitempty"`
}

type PaymentProfile Uses

type PaymentProfile struct {
    BillTo                *BillTo  `json:"billTo,omitempty"`
    Payment               *Payment `json:"payment,omitempty"`
    DefaultPaymentProfile string   `json:"defaultPaymentProfile,omitempty"`
    PaymentProfileId      string   `json:"paymentProfileId,omitempty"`
}

type PaymentProfiles Uses

type PaymentProfiles struct {
    CustomerType string  `json:"customerType,omitempty"`
    Payment      Payment `json:"payment,omitempty"`
    BillTo       *BillTo `json:"billTo,omitempty"`
    PaymentId    string  `json:"paymentProfileId,omitempty"`
}

type PaymentSchedule Uses

type PaymentSchedule struct {
    Interval         Interval `json:"interval,omitempty"`
    StartDate        string   `json:"startDate,omitempty"`
    TotalOccurrences string   `json:"totalOccurrences,omitempty"`
    TrialOccurrences string   `json:"trialOccurrences,omitempty"`
}

type PreviousTransaction Uses

type PreviousTransaction struct {
    RefId  string `json:"refTransId,omitempty"`
    Amount string `json:"amount,omitempty"`
}

func (PreviousTransaction) Approve Uses

func (t PreviousTransaction) Approve() (*TransactionResponse, error)

func (PreviousTransaction) Capture Uses

func (tranx PreviousTransaction) Capture() (*TransactionResponse, error)

func (PreviousTransaction) Decline Uses

func (t PreviousTransaction) Decline() (*TransactionResponse, error)

func (PreviousTransaction) Info Uses

func (tranx PreviousTransaction) Info() (*FullTransaction, error)

func (PreviousTransaction) Void Uses

func (tranx PreviousTransaction) Void() (*TransactionResponse, error)

type Profile Uses

type Profile struct {
    MerchantCustomerID string           `json:"merchantCustomerId,omitempty"`
    Description        string           `json:"description,omitempty"`
    Email              string           `json:"email,omitempty"`
    CustomerProfileId  string           `json:"customerProfileId,omitempty"`
    PaymentProfiles    *PaymentProfiles `json:"paymentProfiles,omitempty"`
    PaymentProfileId   string           `json:"customerPaymentProfileId,omitempty"`
    Shipping           *Address         `json:"address,omitempty"`
    CustomerAddressId  string           `json:"customerAddressId,omitempty"`
    PaymentProfile     *PaymentProfile  `json:"paymentProfile,omitempty"`
}

func (Profile) CreateProfile Uses

func (profile Profile) CreateProfile() (*CustomProfileResponse, error)

func (Profile) CreateShipping Uses

func (profile Profile) CreateShipping() (*CreateCustomerShippingAddressResponse, error)

func (Profile) UpdatePaymentProfile Uses

func (profile Profile) UpdatePaymentProfile() (*MessagesResponse, error)

func (Profile) UpdateProfile Uses

func (profile Profile) UpdateProfile() (*MessagesResponse, error)

func (Profile) UpdateShippingProfile Uses

func (profile Profile) UpdateShippingProfile() (*MessagesResponse, error)

type Range Uses

type Range struct {
    Start   time.Time `"omitempty"`
    End     time.Time `"omitempty"`
    BatchId string    `"omitempty"`
    Sorting Sorting   `"omitempty"`
    Paging  Paging    `"omitempty"`
}

func (Range) SettledBatch Uses

func (r Range) SettledBatch() (*BatchListResponse, error)

func (Range) Statistics Uses

func (r Range) Statistics() (*Statistics, error)

func (Range) Transactions Uses

func (r Range) Transactions() (*GetTransactionListResponse, error)

type SetSubscription Uses

type SetSubscription struct {
    Id string `json:"subscriptionId"`
}

func (SetSubscription) Cancel Uses

func (sub SetSubscription) Cancel() (*SubscriptionCancel, error)

func (SetSubscription) Info Uses

func (sub SetSubscription) Info() (*GetSubscriptionResponse, error)

func (SetSubscription) Status Uses

func (sub SetSubscription) Status() (*SubscriptionStatus, error)

type Setting Uses

type Setting struct {
    SettingName  string `json:"settingName,omitempty"`
    SettingValue string `json:"settingValue,omitempty"`
}

type Shipping Uses

type Shipping struct {
    Amount      string `json:"amount,omitempty"`
    Name        string `json:"name,omitempty"`
    Description string `json:"description,omitempty"`
}

type Sorting Uses

type Sorting struct {
    OrderBy         string `json:"orderBy"`
    OrderDescending string `json:"orderDescending"`
}

type Statistics Uses

type Statistics struct {
    AccountType                        string  `json:"accountType"`
    ChargeAmount                       float64 `json:"chargeAmount"`
    ChargeCount                        int     `json:"chargeCount"`
    RefundAmount                       float64 `json:"refundAmount"`
    RefundCount                        int     `json:"refundCount"`
    VoidCount                          int     `json:"voidCount"`
    DeclineCount                       int     `json:"declineCount"`
    ErrorCount                         int     `json:"errorCount"`
    ReturnedItemAmount                 int     `json:"returnedItemAmount"`
    ReturnedItemAmountSpecified        bool    `json:"returnedItemAmountSpecified"`
    ReturnedItemCount                  int     `json:"returnedItemCount"`
    ReturnedItemCountSpecified         bool    `json:"returnedItemCountSpecified"`
    ChargebackAmount                   int     `json:"chargebackAmount"`
    ChargebackAmountSpecified          bool    `json:"chargebackAmountSpecified"`
    ChargebackCount                    int     `json:"chargebackCount"`
    ChargebackCountSpecified           bool    `json:"chargebackCountSpecified"`
    CorrectionNoticeCount              int     `json:"correctionNoticeCount"`
    CorrectionNoticeCountSpecified     bool    `json:"correctionNoticeCountSpecified"`
    ChargeChargeBackAmount             int     `json:"chargeChargeBackAmount"`
    ChargeChargeBackAmountSpecified    bool    `json:"chargeChargeBackAmountSpecified"`
    ChargeChargeBackCount              int     `json:"chargeChargeBackCount"`
    ChargeChargeBackCountSpecified     bool    `json:"chargeChargeBackCountSpecified"`
    RefundChargeBackAmount             int     `json:"refundChargeBackAmount"`
    RefundChargeBackAmountSpecified    bool    `json:"refundChargeBackAmountSpecified"`
    RefundChargeBackCount              int     `json:"refundChargeBackCount"`
    RefundChargeBackCountSpecified     bool    `json:"refundChargeBackCountSpecified"`
    ChargeReturnedItemsAmount          float64 `json:"chargeReturnedItemsAmount"`
    ChargeReturnedItemsAmountSpecified bool    `json:"chargeReturnedItemsAmountSpecified"`
    ChargeReturnedItemsCount           int     `json:"chargeReturnedItemsCount"`
    ChargeReturnedItemsCountSpecified  bool    `json:"chargeReturnedItemsCountSpecified"`
    RefundReturnedItemsAmount          int     `json:"refundReturnedItemsAmount"`
    RefundReturnedItemsAmountSpecified bool    `json:"refundReturnedItemsAmountSpecified"`
    RefundReturnedItemsCount           int     `json:"refundReturnedItemsCount"`
    RefundReturnedItemsCountSpecified  bool    `json:"refundReturnedItemsCountSpecified"`
}

type Subscription Uses

type Subscription struct {
    Name            string            `json:"name,omitempty"`
    PaymentSchedule *PaymentSchedule  `json:"paymentSchedule,omitempty"`
    Amount          string            `json:"amount,omitempty"`
    TrialAmount     string            `json:"trialAmount,omitempty"`
    Payment         *Payment          `json:"payment,omitempty"`
    BillTo          *BillTo           `json:"billTo,omitempty"`
    SubscriptionId  string            `json:"subscriptionId,omitempty"`
    Profile         *CustomerProfiler `json:"profile,omitempty"`
}

func (Subscription) Charge Uses

func (sub Subscription) Charge() (*SubscriptionResponse, error)

func (Subscription) Update Uses

func (sub Subscription) Update() (*SubscriptionResponse, error)

type SubscriptionCancel Uses

type SubscriptionCancel struct {
    RefID string `json:"refId"`
    MessagesResponse
}

type SubscriptionResponse Uses

type SubscriptionResponse struct {
    SubscriptionID string `json:"subscriptionId"`
    Profile        struct {
        CustomerProfileID        string `json:"customerProfileId"`
        CustomerPaymentProfileID string `json:"customerPaymentProfileId"`
    }   `json:"profile"`
    Messages struct {
        ResultCode string `json:"resultCode"`
        Message    []struct {
            Code string `json:"code"`
            Text string `json:"text"`
        }   `json:"message"`
    }   `json:"messages"`
}

func SendSubscription Uses

func SendSubscription(sub Subscription) (*SubscriptionResponse, error)

func UpdateSubscription Uses

func UpdateSubscription(sub Subscription) (*SubscriptionResponse, error)

func (SubscriptionResponse) Approved Uses

func (response SubscriptionResponse) Approved() bool

func (SubscriptionResponse) CustomerPaymentProfileId Uses

func (response SubscriptionResponse) CustomerPaymentProfileId() string

func (SubscriptionResponse) CustomerProfileId Uses

func (response SubscriptionResponse) CustomerProfileId() string

func (SubscriptionResponse) ErrorMessage Uses

func (response SubscriptionResponse) ErrorMessage() string

func (SubscriptionResponse) Info Uses

func (response SubscriptionResponse) Info() string

type SubscriptionStatus Uses

type SubscriptionStatus struct {
    Note            string `json:"note"`
    Status          string `json:"status"`
    StatusSpecified bool   `json:"statusSpecified"`
    RefID           string `json:"refId"`
    MessagesResponse
}

func (SubscriptionStatus) Active Uses

func (s SubscriptionStatus) Active() bool

type Tax Uses

type Tax struct {
    Amount      string `json:"amount,omitempty"`
    Name        string `json:"name,omitempty"`
    Description string `json:"description,omitempty"`
}

type Transaction Uses

type Transaction struct {
    TransID           string  `json:"transId"`
    SubmitTimeUTC     string  `json:"submitTimeUTC"`
    SubmitTimeLocal   string  `json:"submitTimeLocal"`
    TransactionStatus string  `json:"transactionStatus"`
    Invoice           string  `json:"invoice,omitempty"`
    FirstName         string  `json:"firstName,omitempty"`
    LastName          string  `json:"lastName,omitempty"`
    Amount            string  `json:"amount,omitempty"`
    AccountType       string  `json:"accountType,omitempty"`
    AccountNumber     string  `json:"accountNumber,omitempty"`
    SettleAmount      float64 `json:"settleAmount,omitempty"`
    Subscription      struct {
        ID     int `json:"id"`
        PayNum int `json:"payNum,omitempty"`
    }   `json:"subscription,omitempty"`
    MarketType     string `json:"marketType,omitempty"`
    Product        string `json:"product,omitempty"`
    MobileDeviceID string `json:"mobileDeviceId,omitempty"`
}

type TransactionDetailsResponse Uses

type TransactionDetailsResponse struct {
    Transaction FullTransaction `json:"transaction"`
    MessagesResponse
}

type TransactionMessages Uses

type TransactionMessages struct {
    Message []struct {
        Code        string `json:"code"`
        Description string `json:"description"`
    } `json:"messages"`
}

type TransactionRequest Uses

type TransactionRequest struct {
    TransactionType string     `json:"transactionType,omitempty"`
    Amount          string     `json:"amount,omitempty"`
    Payment         *Payment   `json:"payment,omitempty"`
    RefTransId      string     `json:"refTransId,omitempty"`
    AuthCode        string     `json:"authCode,omitempty"`
    Profile         *Profile   `json:"profile,omitempty"`
    LineItems       *LineItems `json:"lineItems,omitempty"`
    //Tax                 Tax                 `json:"tax,omitempty"`
    //Duty                Duty                `json:"duty,omitempty"`
    //Shipping            Shipping            `json:"shipping,omitempty"`
    //PoNumber            string              `json:"poNumber,omitempty"`
    //Customer            Customer            `json:"customer,omitempty"`
    BillTo     *BillTo  `json:"billTo,omitempty"`
    ShipTo     *Address `json:"shipTo,omitempty"`
    CustomerIP string   `json:"customerIP,omitempty"`
}

type TransactionResponse Uses

type TransactionResponse struct {
    Response TranxResponse `json:"transactionResponse"`
    MessagesResponse
}

func SendTransactionRequest Uses

func SendTransactionRequest(input TransactionRequest) (*TransactionResponse, error)

func SendTransactionUpdate Uses

func SendTransactionUpdate(tranx PreviousTransaction, method string) (*TransactionResponse, error)

func (TransactionResponse) AVS Uses

func (transx TransactionResponse) AVS() AVS

func (TransactionResponse) Approved Uses

func (r TransactionResponse) Approved() bool

func (TransactionResponse) Held Uses

func (r TransactionResponse) Held() bool

func (TransactionResponse) Message Uses

func (transx TransactionResponse) Message() string

func (TransactionResponse) TransactionID Uses

func (transx TransactionResponse) TransactionID() string

type TransactionSettings Uses

type TransactionSettings struct {
    Setting Setting `json:"setting,omitempty"`
}

type Transactions Uses

type Transactions struct {
    Transaction []Transaction `json:"transaction"`
}

type TransactionsList Uses

type TransactionsList struct {
    Transactions        []BatchTransaction `json:"transactions"`
    TotalNumInResultSet int                `json:"totalNumInResultSet"`
    MessagesResponse
}

func SendGetUnsettled Uses

func SendGetUnsettled() (*TransactionsList, error)

func UnsettledBatchList Uses

func UnsettledBatchList() (*TransactionsList, error)

func (TransactionsList) Count Uses

func (input TransactionsList) Count() int

func (TransactionsList) List Uses

func (input TransactionsList) List() ([]BatchTransaction, error)

type TransxReponse Uses

type TransxReponse interface {
    ErrorMessage()
    Approved()
}

type TranxResponse Uses

type TranxResponse struct {
    ResponseCode   string `json:"responseCode"`
    AuthCode       string `json:"authCode"`
    AvsResultCode  string `json:"avsResultCode"`
    CvvResultCode  string `json:"cvvResultCode"`
    CavvResultCode string `json:"cavvResultCode"`
    TransID        string `json:"transId"`
    RefTransID     string `json:"refTransID"`
    TransHash      string `json:"transHash"`
    TestRequest    string `json:"testRequest"`
    AccountNumber  string `json:"accountNumber"`
    AccountType    string `json:"accountType"`
    Errors         []struct {
        ErrorCode string `json:"errorCode"`
        ErrorText string `json:"errorText"`
    }   `json:"errors"`
    TransactionMessages
    TransHashSha2 string `json:"transHashSha2"`
    Message       TransactionMessages
}

type UnsettledTransactionListResponse Uses

type UnsettledTransactionListResponse struct {
    Transactions []Transaction `json:"transactions"`
    MessagesResponse
}

func UnSettledBatch Uses

func UnSettledBatch() (*UnsettledTransactionListResponse, error)

func (UnsettledTransactionListResponse) List Uses

func (r UnsettledTransactionListResponse) List() []Transaction

type UnsettledTransactionsRequest Uses

type UnsettledTransactionsRequest struct {
    GetUnsettledTransactionListRequest GetUnsettledTransactionListRequest `json:"getUnsettledTransactionListRequest"`
}

type UpPaymentProfile Uses

type UpPaymentProfile struct {
    BillTo                   *BillTo `json:"billTo"`
    Payment                  Payment `json:"payment"`
    CustomerPaymentProfileID string  `json:"customerPaymentProfileId"`
}

type UpdateCustomerPaymentProfile Uses

type UpdateCustomerPaymentProfile struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    CustomerProfileID      string                 `json:"customerProfileId"`
    UpPaymentProfile       UpPaymentProfile       `json:"paymentProfile"`
    ValidationMode         string                 `json:"validationMode"`
}

type UpdateCustomerPaymentProfileRequest Uses

type UpdateCustomerPaymentProfileRequest struct {
    UpdateCustomerPaymentProfile UpdateCustomerPaymentProfile `json:"updateCustomerPaymentProfileRequest"`
}

type UpdateCustomerProfile Uses

type UpdateCustomerProfile struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    Profile                Profile                `json:"profile"`
}

type UpdateCustomerProfileRequest Uses

type UpdateCustomerProfileRequest struct {
    UpdateCustomerProfile UpdateCustomerProfile `json:"updateCustomerProfileRequest"`
}

type UpdateCustomerShippingAddress Uses

type UpdateCustomerShippingAddress struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    CustomerProfileID      string                 `json:"customerProfileId"`
    Address                Address                `json:"address"`
}

type UpdateCustomerShippingAddressRequest Uses

type UpdateCustomerShippingAddressRequest struct {
    UpdateCustomerShippingAddress UpdateCustomerShippingAddress `json:"updateCustomerShippingAddressRequest"`
}

type UpdateHeldTransaction Uses

type UpdateHeldTransaction struct {
    MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"`
    RefID                  string                 `json:"refId"`
    HeldTransactionRequest HeldTransactionRequest `json:"heldTransactionRequest"`
}

type UpdateHeldTransactionRequest Uses

type UpdateHeldTransactionRequest struct {
    UpdateHeldTransaction UpdateHeldTransaction `json:"updateHeldTransactionRequest"`
}

type UpdateSubscriptionRequest Uses

type UpdateSubscriptionRequest struct {
    ARBUpdateSubscriptionRequest ARBUpdateSubscriptionRequest `json:"ARBUpdateSubscriptionRequest"`
}

type UserField Uses

type UserField struct {
    Name  string `json:"name,omitempty"`
    Value string `json:"value,omitempty"`
}

type UserFields Uses

type UserFields struct {
    UserField []UserField `json:"userField,omitempty"`
}

type ValidateCustomerPaymentProfile Uses

type ValidateCustomerPaymentProfile struct {
    MerchantAuthentication   MerchantAuthentication `json:"merchantAuthentication"`
    CustomerProfileID        string                 `json:"customerProfileId"`
    CustomerPaymentProfileID string                 `json:"customerPaymentProfileId"`
    ValidationMode           string                 `json:"validationMode"`
}

type ValidateCustomerPaymentProfileRequest Uses

type ValidateCustomerPaymentProfileRequest struct {
    ValidateCustomerPaymentProfile ValidateCustomerPaymentProfile `json:"validateCustomerPaymentProfileRequest"`
}

type ValidateCustomerPaymentProfileResponse Uses

type ValidateCustomerPaymentProfileResponse struct {
    DirectResponse string `json:"directResponse"`
    MessagesResponse
}

func ValidatePaymentProfile Uses

func ValidatePaymentProfile(customer Customer) (*ValidateCustomerPaymentProfileResponse, error)

Package AuthorizeCIM imports 6 packages (graph). Updated 2018-08-23. Refresh now. Tools for package owners.