     
     /**
      SOURCES
-     Source objects allow you to accept a variety of payment methods. They represent a customer's payment instrument and can be used with the Stripe API just like a card object: once chargeable, they can be charged, or attached to customers.
+     Source objects allow you to accept a variety of payment methods. They represent a customer's payment instrument 
+     and can be used with the Stripe API just like a card object: once chargeable, they can be charged, or attached 
+     to customers.
      */
     case sources
     case source(String)
     
     /**
      SUBSCRIPTION ITEMS
-     Subscription items allow you to create customer subscriptions with more than one plan, making it easy to represent complex billing relationships.
+     Subscription items allow you to create customer subscriptions with more than one plan, making it easy to represent 
+     complex billing relationships.
      */
     case subscriptionItem
     case subscriptionItems(String)
     
     /**
      SUBSCRIPTIONS
-     Subscriptions allow you to charge a customer's card on a recurring basis. A subscription ties a customer to a particular plan you've created.
+     Subscriptions allow you to charge a customer's card on a recurring basis. A subscription ties a customer to a 
+     particular plan you've created.
      */
     case subscription
     case subscriptions(String)

     */
    case orderReturn
    case orderReturns(String)
    
    var endpoint: String {
        switch self {

            
        case .orderReturn: return APIBase + APIVersion + "order_returns"
        case .orderReturns(let id): return APIBase + APIVersion + "order_returns/\(id)"
            
        case .invoices: return APIBase + APIVersion + "invoices"
        case .invoice(let id): return APIBase + APIVersion + "invoices/\(id)"
        case .payInvoice(let id): return APIBase + APIVersion + "invoices/\(id)/pay"
        case .invoiceLines(let id): return APIBase + APIVersion + "invoices/\(id)/lines"
        case .upcomingInvoices: return APIBase + APIVersion + "invoices/upcoming"
        }
    }
}
