Quarterly report pursuant to Section 13 or 15(d)

Derivative Instruments and Hedging Activities - Schedule of Derivative Instruments (Details)

v3.10.0.1
Derivative Instruments and Hedging Activities - Schedule of Derivative Instruments (Details) - USD ($)
$ in Thousands
Dec. 31, 2018
Jun. 30, 2018
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value $ 1,732 $ 5,385
Liability derivatives fair value 14,318 6,828
Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value 1,732 5,385
Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Liability derivatives fair value 14,318 6,828
Derivatives designated as hedging instruments | Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value 102 3,478
Derivatives designated as hedging instruments | Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Liability derivatives fair value 11,604 5,470
Derivatives not designated as hedging instruments | Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value 1,630 1,907
Derivatives not designated as hedging instruments | Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Liability derivatives fair value 2,714 1,358
Rate lock contracts | Derivatives designated as hedging instruments | Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current assets 0 219
Rate lock contracts | Derivatives designated as hedging instruments | Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current liabilities 10,955 5,158
Foreign exchange contracts | Derivatives designated as hedging instruments | Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current assets 102 3,259
Foreign exchange contracts | Derivatives designated as hedging instruments | Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current liabilities 649 312
Foreign exchange contracts | Derivatives not designated as hedging instruments | Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current assets 1,630 1,907
Foreign exchange contracts | Derivatives not designated as hedging instruments | Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current liabilities $ 2,714 $ 1,358