ex_heroku_client v0.3.0 Heroku.InvoiceAddress

Summary

Functions

Calls GET /account/invoice-address

Calls PUT /account/invoice-address

Functions

get()

Calls GET /account/invoice-address

self(params \\ %{})

Calls PUT /account/invoice-address

params is JSON encoded and passed as the request body.

params Schema

{
  "properties": {
    "address_1": {
      "description": "invoice street address line 1",
      "example": "40 Hickory Blvd.",
      "type": [
        "string"
      ]
    },
    "address_2": {
      "description": "invoice street address line 2",
      "example": "Suite 300",
      "type": [
        "string"
      ]
    },
    "city": {
      "description": "invoice city",
      "example": "Seattle",
      "type": [
        "string"
      ]
    },
    "country": {
      "description": "country",
      "example": "US",
      "type": [
        "string"
      ]
    },
    "other": {
      "description": "metadata / additional information to go on invoice",
      "example": "Company ABC Inc. VAT 903820",
      "type": [
        "string"
      ]
    },
    "postal_code": {
      "description": "invoice zip code",
      "example": "98101",
      "type": [
        "string"
      ]
    },
    "state": {
      "description": "invoice state",
      "example": "WA",
      "type": [
        "string"
      ]
    },
    "use_invoice_address": {
      "default": false,
      "description": "flag to use the invoice address for an account or not",
      "example": true,
      "type": [
        "boolean"
      ]
    }
  },
  "type": [
    "object"
  ]
}