class ProcessOut::Client

Attributes

host[R]
project_id[R]
project_secret[R]

Public Class Methods

new(project_id, project_secret) click to toggle source
# File lib/processout.rb, line 45
def initialize(project_id, project_secret)
  @host = "https://api.processout.com"

  @project_id = project_id
  @project_secret = project_secret
end

Public Instance Methods

activity(data = {}) click to toggle source

Create a new Activity instance

# File lib/processout.rb, line 53
def activity(data = {})
  obj = Activity.new(self, data)
end
addon(data = {}) click to toggle source

Create a new Addon instance

# File lib/processout.rb, line 58
def addon(data = {})
  obj = Addon.new(self, data)
end
api_request(data = {}) click to toggle source

Create a new APIRequest instance

# File lib/processout.rb, line 63
def api_request(data = {})
  obj = APIRequest.new(self, data)
end
api_version(data = {}) click to toggle source

Create a new APIVersion instance

# File lib/processout.rb, line 68
def api_version(data = {})
  obj = APIVersion.new(self, data)
end
card(data = {}) click to toggle source

Create a new Card instance

# File lib/processout.rb, line 73
def card(data = {})
  obj = Card.new(self, data)
end
card_information(data = {}) click to toggle source

Create a new CardInformation instance

# File lib/processout.rb, line 78
def card_information(data = {})
  obj = CardInformation.new(self, data)
end
coupon(data = {}) click to toggle source

Create a new Coupon instance

# File lib/processout.rb, line 83
def coupon(data = {})
  obj = Coupon.new(self, data)
end
customer(data = {}) click to toggle source

Create a new Customer instance

# File lib/processout.rb, line 88
def customer(data = {})
  obj = Customer.new(self, data)
end
customer_action(data = {}) click to toggle source

Create a new CustomerAction instance

# File lib/processout.rb, line 153
def customer_action(data = {})
  obj = CustomerAction.new(self, data)
end
discount(data = {}) click to toggle source

Create a new Discount instance

# File lib/processout.rb, line 98
def discount(data = {})
  obj = Discount.new(self, data)
end
dunning_action(data = {}) click to toggle source

Create a new DunningAction instance

# File lib/processout.rb, line 158
def dunning_action(data = {})
  obj = DunningAction.new(self, data)
end
event(data = {}) click to toggle source

Create a new Event instance

# File lib/processout.rb, line 103
def event(data = {})
  obj = Event.new(self, data)
end
gateway(data = {}) click to toggle source

Create a new Gateway instance

# File lib/processout.rb, line 108
def gateway(data = {})
  obj = Gateway.new(self, data)
end
gateway_configuration(data = {}) click to toggle source

Create a new GatewayConfiguration instance

# File lib/processout.rb, line 113
def gateway_configuration(data = {})
  obj = GatewayConfiguration.new(self, data)
end
invoice(data = {}) click to toggle source

Create a new Invoice instance

# File lib/processout.rb, line 118
def invoice(data = {})
  obj = Invoice.new(self, data)
end
invoice_detail(data = {}) click to toggle source

Create a new InvoiceDetail instance

# File lib/processout.rb, line 148
def invoice_detail(data = {})
  obj = InvoiceDetail.new(self, data)
end
invoice_device(data = {}) click to toggle source

Create a new InvoiceDevice instance

# File lib/processout.rb, line 138
def invoice_device(data = {})
  obj = InvoiceDevice.new(self, data)
end
invoice_external_fraud_tools(data = {}) click to toggle source

Create a new InvoiceExternalFraudTools instance

# File lib/processout.rb, line 128
def invoice_external_fraud_tools(data = {})
  obj = InvoiceExternalFraudTools.new(self, data)
end
invoice_risk(data = {}) click to toggle source

Create a new InvoiceRisk instance

# File lib/processout.rb, line 133
def invoice_risk(data = {})
  obj = InvoiceRisk.new(self, data)
end
invoice_shipping(data = {}) click to toggle source

Create a new InvoiceShipping instance

# File lib/processout.rb, line 143
def invoice_shipping(data = {})
  obj = InvoiceShipping.new(self, data)
end
invoice_tax(data = {}) click to toggle source

Create a new InvoiceTax instance

# File lib/processout.rb, line 123
def invoice_tax(data = {})
  obj = InvoiceTax.new(self, data)
end
payment_data_network_authentication(data = {}) click to toggle source

Create a new PaymentDataNetworkAuthentication instance

# File lib/processout.rb, line 213
def payment_data_network_authentication(data = {})
  obj = PaymentDataNetworkAuthentication.new(self, data)
end
payment_data_three_ds_authentication(data = {}) click to toggle source

Create a new PaymentDataThreeDSAuthentication instance

# File lib/processout.rb, line 218
def payment_data_three_ds_authentication(data = {})
  obj = PaymentDataThreeDSAuthentication.new(self, data)
end
payment_data_three_ds_request(data = {}) click to toggle source

Create a new PaymentDataThreeDSRequest instance

# File lib/processout.rb, line 208
def payment_data_three_ds_request(data = {})
  obj = PaymentDataThreeDSRequest.new(self, data)
end
payout(data = {}) click to toggle source

Create a new Payout instance

# File lib/processout.rb, line 163
def payout(data = {})
  obj = Payout.new(self, data)
end
payout_item(data = {}) click to toggle source

Create a new PayoutItem instance

# File lib/processout.rb, line 168
def payout_item(data = {})
  obj = PayoutItem.new(self, data)
end
plan(data = {}) click to toggle source

Create a new Plan instance

# File lib/processout.rb, line 173
def plan(data = {})
  obj = Plan.new(self, data)
end
product(data = {}) click to toggle source

Create a new Product instance

# File lib/processout.rb, line 178
def product(data = {})
  obj = Product.new(self, data)
end
project(data = {}) click to toggle source

Create a new Project instance

# File lib/processout.rb, line 183
def project(data = {})
  obj = Project.new(self, data)
end
refund(data = {}) click to toggle source

Create a new Refund instance

# File lib/processout.rb, line 188
def refund(data = {})
  obj = Refund.new(self, data)
end
subscription(data = {}) click to toggle source

Create a new Subscription instance

# File lib/processout.rb, line 193
def subscription(data = {})
  obj = Subscription.new(self, data)
end
three_ds(data = {}) click to toggle source

Create a new ThreeDS instance

# File lib/processout.rb, line 203
def three_ds(data = {})
  obj = ThreeDS.new(self, data)
end
token(data = {}) click to toggle source

Create a new Token instance

# File lib/processout.rb, line 93
def token(data = {})
  obj = Token.new(self, data)
end
transaction(data = {}) click to toggle source

Create a new Transaction instance

# File lib/processout.rb, line 198
def transaction(data = {})
  obj = Transaction.new(self, data)
end
transaction_operation(data = {}) click to toggle source

Create a new TransactionOperation instance

# File lib/processout.rb, line 223
def transaction_operation(data = {})
  obj = TransactionOperation.new(self, data)
end
webhook(data = {}) click to toggle source

Create a new Webhook instance

# File lib/processout.rb, line 228
def webhook(data = {})
  obj = Webhook.new(self, data)
end
webhook_endpoint(data = {}) click to toggle source

Create a new WebhookEndpoint instance

# File lib/processout.rb, line 233
def webhook_endpoint(data = {})
  obj = WebhookEndpoint.new(self, data)
end